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
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
A 1D vector of objects of type <T> with a fixed length <N>.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A HashTable to objects of type <T> with a label key.
const Field< point_type > & localPoints() const
const Field< point_type > & points() const noexcept
const labelListList & faceEdges() const
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
isoSurfaceBase(const isoSurfaceBase &)=delete
No copy construct.
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.
const scalarField & pointValues() const noexcept
The mesh point values used for creating the iso-surface.
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.
TypeName("isoSurfaceCell")
Runtime type information.
virtual ~isoSurfaceCell()=default
Destructor.
Preferences for controlling iso-surface algorithms.
isoSurfaceParams(const algorithmType algo=algorithmType::ALGO_DEFAULT, const filterType filter=filterType::DIAGCELL) noexcept
Default construct, or with specified algorithm.
A triFace with additional (region) index.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
Triangle point storage. Default constructable (triangle is not).
Triangulated surface description with patch information.
const volScalarField & p0
#define declareIsoSurfaceInterpolateMethod(Type)
Pair< label > labelPair
A pair of labels.
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
vector point
Point is a vector.
List< bool > boolList
A List of bools.
vectorField pointField
pointField is a vectorField.
PointIndexHit< point > pointIndexHit
A PointIndexHit with a 3D point.
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.