44 #ifndef isoSurfaceCell_H 45 #define isoSurfaceCell_H 95 const scalar mergeDistance_;
127 cellCutType calcCutType
195 void calcSnappedPoint
218 void generateTriPoints
237 void generateTriPoints
255 const bool checkDuplicates,
275 static bool danglingTriangle
282 static label markDanglingTriangles
315 const bool regularise,
316 const scalar mergeTol = 1
e-6
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
TypeName("isoSurfaceCell")
Runtime type information.
const double e
Elementary charge.
const Field< point > & points() const
Return reference to global points.
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
const labelList & meshCells() const
For every face original cell in mesh.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
An ordered pair of two objects of type <T> with first() and second() elements.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
A triangular face using a FixedList of labels corresponding to mesh vertices.
const labelListList & faceEdges() const
Return face-edge addressing.
Triangle with additional region number.
A surface formed by the iso value. After "Polygonising A Scalar Field Using Tetrahedrons", Paul Bourke (http://paulbourke.net/geometry/polygonise) and "Regularised Marching Tetrahedra: improved iso-surface extraction", G.M. Treece, R.W. Prager and A.H. Gee.
isoSurfaceCell(const polyMesh &mesh, const scalarField &cellValues, const scalarField &pointValues, const scalar iso, const bool regularise, const scalar mergeTol=1e-6)
Construct from dictionary.
tmp< Field< Type > > interpolate(const Field< Type > &cCoords, const Field< Type > &pCoords) const
Interpolates cCoords,pCoords.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
Triangulated surface description with patch information.
const Field< point > & localPoints() const
Return pointField of points in patch.
A HashTable to objects of type <T> with a label key.