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;
virtual bool update()
Update the surface as required.
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...
const word & name() const
Name of surface.
bool interpolate() const
Interpolation requested for surface.
Generic GeometricField class.
virtual bool needsUpdate() const
Does the surface need an update?
TypeName("thresholdCellFaces")
Runtime type information.
A class for handling words, derived from string.
const Field< PointType > & points() const
Return reference to global points.
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.
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on 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.