58 #ifndef sampledThresholdCellFaces_H
59 #define sampledThresholdCellFaces_H
68 namespace sampledSurfaces
75 class thresholdCellFaces
77 public sampledSurface,
78 public MeshedSurface<face>
82 typedef MeshedSurface<face> MeshStorage;
88 const word fieldName_;
91 const scalar lowerThreshold_;
94 const scalar upperThreshold_;
102 mutable label prevTimeIndex_;
112 bool updateGeometry()
const;
Generic GeometricField class.
const List< face > & faces() const
Return const access to the faces.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const Field< PointType > & points() const
Return reference to global points.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for interpolation.
Mesh consisting of general polyhedral cells.
bool interpolate() const
Interpolation requested for surface.
const word & name() const
Name of surface.
TypeName("thresholdCellFaces")
Runtime type information.
thresholdCellFaces(const word &name, const polyMesh &, const dictionary &)
Construct from dictionary.
virtual wordList fields() const
Return the list of fields required.
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on surface.
virtual bool expire()
Mark the surface as needing an update.
virtual bool needsUpdate() const
Does the surface need an update?
virtual bool update()
Update the surface as required.
virtual void print(Ostream &) const
Write.
virtual const faceList & faces() const
Faces of surface.
virtual ~thresholdCellFaces()
Destructor.
virtual const pointField & points() const
Points of surface.
A class for managing temporary objects.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.