71 #ifndef sampledThresholdCellFaces_H 72 #define sampledThresholdCellFaces_H 87 class sampledThresholdCellFaces
89 public sampledSurface,
99 const word fieldName_;
102 const scalar lowerThreshold_;
105 const scalar upperThreshold_;
113 mutable label prevTimeIndex_;
123 bool updateGeometry()
const;
143 TypeName(
"sampledThresholdCellFaces");
215 virtual tmp<scalarField>
sample 217 const interpolation<scalar>& sampler
221 virtual tmp<vectorField>
sample 223 const interpolation<vector>& sampler
227 virtual tmp<sphericalTensorField>
sample 229 const interpolation<sphericalTensor>& sampler
233 virtual tmp<symmTensorField>
sample 235 const interpolation<symmTensor>& sampler
virtual bool update()
Update the surface as required.
bool interpolate() const noexcept
Same as isPointData()
virtual ~sampledThresholdCellFaces()=default
Destructor.
virtual tmp< scalarField > sample(const interpolation< scalar > &sampler) const
Sample volume field onto surface faces.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const vectorField & Sf() const
Face area vectors (normals)
virtual const vectorField & Cf() const
Face centres.
virtual const scalarField & magSf() const
Face area magnitudes.
virtual bool needsUpdate() const
Does the surface need an update?
virtual const labelList & zoneIds() const
Per-face zone/region information.
virtual const vectorField & Sf() const
Face area vectors (normals)
const word & name() const noexcept
Name of surface.
sampledThresholdCellFaces(const word &name, const polyMesh &, const dictionary &)
Construct from dictionary.
A class for handling words, derived from Foam::string.
const scalarField & magSf() const
Face area magnitudes.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual bool expire()
Mark the surface as needing an update.
MeshedSurface< face > meshedSurface
const Field< point_type > & points() const noexcept
Return reference to global points.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const List< face > & surfFaces() const
Return const access to the faces.
OBJstream os(runTime.globalPath()/outputName)
virtual void print(Ostream &os, int level=0) const
Print information.
virtual const pointField & points() const
Points of surface.
TypeName("sampledThresholdCellFaces")
Runtime type information.
const vectorField & Cf() const
Face centres.
Abstract base class for volume field interpolation.
Field< vector > vectorField
Specialisation of Field<T> for vector.
Mesh consisting of general polyhedral cells.
List< label > labelList
A List of labels.
A class for managing temporary objects.
virtual const faceList & faces() const
Faces of surface.
static const List< label > & null() noexcept
Return a null List (reference to a nullObject). Behaves like an empty List.