48 #ifndef isoSurfaceCell_H 49 #define isoSurfaceCell_H 74 const scalar mergeDistance_;
98 scalar isoFraction(
const scalar s0,
const scalar s1)
const;
153 void calcSnappedPoint
176 void generateTriPoints
195 void generateTriPoints
213 const bool checkDuplicates,
230 static bool danglingTriangle
237 static label markDanglingTriangles
const scalarField & pointValues() const noexcept
The mesh point values used for creating the iso-surface.
TypeName("isoSurfaceCell")
Runtime type information.
const Field< point_type > & localPoints() const
Return pointField of points in patch.
Preferences for controlling iso-surface algorithms.
This class describes the interaction of an object (often a face) and a point. It carries the info of ...
Low-level components common to various iso-surface algorithms.
isoSurfaceParams(const algorithmType algo=algorithmType::ALGO_DEFAULT, const filterType filter=filterType::DIAGCELL) noexcept
Default construct, or with specified algorithm.
#define declareIsoSurfaceInterpolateMethod(Type)
Triangle point storage. Default constructable (triangle is not)
const scalarField & cellValues() const noexcept
The mesh cell values used for creating the iso-surface.
const polyMesh & mesh() const noexcept
The mesh for which the iso-surface is associated.
A triFace with additional (region) index.
const Field< point_type > & points() const noexcept
Return reference to global points.
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 isoSurfaceParams ¶ms=isoSurfaceParams(), const bitSet &ignoreCells=bitSet())
Construct from cell and point values.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
const labelListList & faceEdges() const
Return face-edge addressing.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
Triangulated surface description with patch information.
Tensor of scalars, i.e. Tensor<scalar>.
const volScalarField & p0
A HashTable to objects of type <T> with a label key.
virtual ~isoSurfaceCell()=default
Destructor.