36 #ifndef sampledThresholdCellFaces_H 37 #define sampledThresholdCellFaces_H 46 namespace sampledSurfaces
66 const word fieldName_;
69 const scalar lowerThreshold_;
72 const scalar upperThreshold_;
83 mutable label prevTimeIndex_;
93 bool updateGeometry()
const;
virtual bool update()
Update the surface as required.
A class for handling keywords in dictionaries.
thresholdCellFaces(const word &name, const polyMesh &, const dictionary &)
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.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An abstract class for surfaces with sampling.
const word & name() const
Name of surface.
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
bool interpolate() const
Interpolation requested for surface.
Generic GeometricField class.
virtual bool needsUpdate() const
Does the surface need an update?
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on surface.
TypeName("thresholdCellFaces")
Runtime type information.
A class for handling words, derived from string.
const Field< PointType > & points() const
Return reference to global points.
A sampledSurface defined by the cell faces corresponding to a threshold value.
virtual const faceList & faces() const
Faces of surface.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual const pointField & points() const
Points of surface.
const List< face > & faces() const
Return const access to the faces.
virtual bool expire()
Mark the surface as needing an update.
virtual ~thresholdCellFaces()
Destructor.
Abstract base class for interpolation.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
virtual void print(Ostream &) const
Write.