Go to the documentation of this file.
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");
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual const labelList & zoneIds() const
Per-face zone/region information.
static const List< T > & null()
Return a null List.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual const scalarField & magSf() const
Face area magnitudes.
virtual void print(Ostream &os, int level=0) const
Print information.
const vectorField & Sf() const
Face area vectors (normals)
const List< face > & surfFaces() const
Return const access to the faces.
sampledThresholdCellFaces(const word &name, const polyMesh &, const dictionary &)
Construct from dictionary.
virtual bool needsUpdate() const
Does the surface need an update?
Mesh consisting of general polyhedral cells.
virtual bool update()
Update the surface as required.
Field< vector > vectorField
Specialisation of Field<T> for vector.
virtual const vectorField & Sf() const
Face area vectors (normals)
virtual tmp< scalarField > sample(const interpolation< scalar > &sampler) const
Sample volume field onto surface faces.
virtual bool expire()
Mark the surface as needing an update.
const scalarField & magSf() const
Face area magnitudes.
bool interpolate() const noexcept
Same as isPointData()
virtual const vectorField & Cf() const
Face centres.
TypeName("sampledThresholdCellFaces")
Runtime type information.
An abstract class for surfaces with sampling.
Abstract base class for interpolation.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual ~sampledThresholdCellFaces()=default
Destructor.
OBJstream os(runTime.globalPath()/outputName)
const word & name() const noexcept
Name of surface.
MeshedSurface< face > meshedSurface
A sampledSurface defined by the cell faces corresponding to a threshold value.
virtual const faceList & faces() const
Faces of surface.
const vectorField & Cf() const
Face centres.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual const pointField & points() const
Points of surface.