Go to the documentation of this file.
40 #ifndef isoSurfaceTopo_H
41 #define isoSurfaceTopo_H
75 class tetCutAddressing
102 const label nCutCells,
104 const bool useDebugCuts =
false
111 label nFaces()
const {
return cutPoints_.size()/3; }
121 label nDebugTets()
const {
return debugCutTets_.size(); }
124 bool debugCutTetsOn()
const {
return debugCutTetsOn_; }
127 void clearDiagonal();
146 const int tetCutIndex,
156 void generateTriPoints
162 tetCutAddressing& tetCutAddr
168 static void triangulateOutside
170 const bool filterDiag,
181 static void removeInsidePoints
184 const bool filterDiag,
253 return pointToVerts_;
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.
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.
virtual ~isoSurfaceTopo()=default
const edgeList & pointToVerts() const noexcept
void inplaceSubsetMesh(const bitSet &include)
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
#define declareIsoSurfaceInterpolateMethod(Type)
Mesh consisting of general polyhedral cells.
const polyMesh & mesh() const noexcept
isoSurfaceParams(const algorithmType algo=algorithmType::ALGO_DEFAULT, const filterType filter=filterType::DIAGCELL) noexcept
tmp< Field< Type > > interpolateTemplate(const Field< Type > &cellData, const Field< Type > &pointData) const
Preferences for controlling iso-surface algorithms.
pointField vertices(const blockVertexList &bvl)
const scalarField & cellValues() const noexcept
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T> with a fixed length <N>.
A topoSetFaceSource to select faces with any point or any edge within a given pointSet(s).
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())
Marching tet iso surface algorithm with optional filtering to keep only points originating from mesh ...
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
TypeName("isoSurfaceTopo")
const scalarField & pointValues() const noexcept
A list of faces which address into the list of points.