Go to the documentation of this file.
40 #ifndef isoSurfaceTopo_H
41 #define isoSurfaceTopo_H
83 const label faceBasePtI
86 void fixTetBasePtIs();
92 const bool edgeIsDiag,
102 void generateTriPoints
105 const int tetCutIndex,
118 void generateTriPoints
135 static void triangulateOutside
137 const bool filterDiag,
148 static void removeInsidePoints
151 const bool filterDiag,
225 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.
virtual ~isoSurfaceTopo()=default
Destructor.
void inplaceSubsetMesh(const bitSet &include)
Subset the surface using the selected faces.
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 > > interpolateTemplate(const Field< Type > &cCoords, const Field< Type > &pCoords) const
Interpolates cCoords,pCoords.
#define declareIsoSurfaceInterpolateMethod(Type)
Mesh consisting of general polyhedral cells.
const polyMesh & mesh() const noexcept
The mesh for which the iso-surface is associated.
Generic templated field type.
isoSurfaceParams(const algorithmType algo=algorithmType::ALGO_DEFAULT, const filterType filter=filterType::DIAGCELL) noexcept
Default construct, or with specified algorithm.
Preferences for controlling iso-surface algorithms.
pointField vertices(const blockVertexList &bvl)
const labelList & pointToFace() const
For every point originating face (pyramid) in mesh.
const scalarField & cellValues() const noexcept
The mesh cell values used for creating the iso-surface.
A 1D vector of objects of type <T> with a fixed length <N>.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A tetrahedral cell primitive.
isoSurfaceTopo(const polyMesh &mesh, const scalarField &cellValues, const scalarField &pointValues, const scalar iso, const isoSurfaceParams ¶ms=isoSurfaceParams(), const bitSet &ignoreCells=bitSet())
Construct from cell and point values.
Marching tet iso surface algorithm with optional filtering to keep only points originating from mesh ...
TypeName("isoSurfaceTopo")
Runtime type information.
const scalarField & pointValues() const noexcept
The mesh point values used for creating the iso-surface.
A list of faces which address into the list of points.