Go to the documentation of this file.
39 #ifndef isoSurfaceTopo_H
40 #define isoSurfaceTopo_H
81 const bitSet& ignoreCells_;
85 bitSet ignoreBoundaryFaces_;
102 const label faceBasePtI
105 void fixTetBasePtIs();
108 cellCutType calcCutType
126 const bool edgeIsDiag,
136 void generateTriPoints
153 void generateTriPoints
170 void triangulateOutside
172 const bool filterDiag,
184 const bool filterDiag,
213 const filterType filter = filterType::DIAGCELL,
230 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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
pointField vertices(const blockVertexList &bvl)
const labelList & pointToFace() const
For every point originating face (pyramid) in mesh.
label ListType::const_reference const label start
A 1D vector of objects of type <T> with a fixed length <N>.
A topoSetFaceSource to select faces based on use of points.
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.