Go to the documentation of this file.
39 #ifndef isoSurfaceTopo_H
40 #define isoSurfaceTopo_H
82 const bitSet& ignoreCells_;
86 bitSet ignoreBoundaryFaces_;
103 const label faceBasePtI
106 void fixTetBasePtIs();
109 cellCutType calcCutType
127 const bool edgeIsDiag,
137 void generateTriPoints
154 void generateTriPoints
171 void triangulateOutside
173 const bool filterDiag,
185 const bool filterDiag,
214 const filterType filter = filterType::DIAGCELL,
231 return pointToVerts_;
Low-level components common to various iso-surface algorithms.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.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))
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
A class for managing temporary objects.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
static const boundBox invertedBox
A large inverted boundBox: min/max == +/- ROOTVGREAT.
const edgeList & pointToVerts() const
Per point: originating mesh vertex/cc. See encoding above.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
tmp< Field< Type > > interpolate(const Field< Type > &cCoords, const Field< Type > &pCoords) const
Interpolates cCoords,pCoords.
A cellMatcher for tet cells (cellModel::TET)
Mesh consisting of general polyhedral cells.
isoSurfaceTopo(const polyMesh &mesh, const scalarField &cellValues, const scalarField &pointValues, const scalar iso, const filterType filter=filterType::DIAGCELL, const boundBox &bounds=boundBox::invertedBox, const bitSet &ignoreCells=bitSet())
Construct from dictionary.
pointField vertices(const blockVertexList &bvl)
const labelList & pointToFace() const
For every point originating face (pyramid) in mesh.
A 1D vector of objects of type <T> with a fixed length <N>.
A bounding box defined in terms of min/max extrema points.
Marching tet iso surface algorithm with optional filtering to keep only points originating from mesh ...
TypeName("isoSurfaceTopo")
Runtime type information.
filterType
The filtering (regularization) to apply.
A list of faces which address into the list of points.