Go to the documentation of this file.
36 #ifndef sampledThresholdCellFaces_H
37 #define sampledThresholdCellFaces_H
107 TypeName(
"sampledThresholdCellFaces");
const scalar lowerThreshold_
Threshold value.
virtual ~sampledThresholdCellFaces()
Destructor.
A class for handling words, derived from string.
A class for managing temporary objects.
label prevTimeIndex_
Time at last call, also track it surface needs an update.
const word fieldName_
Field to get isoSurface of.
sampledThresholdCellFaces(const word &name, const polyMesh &, const dictionary &)
Construct from dictionary.
virtual bool needsUpdate() const
Does the surface need an update?
const List< Face > & faces() const
Return const access to the faces.
Mesh consisting of general polyhedral cells.
virtual bool update()
Update the surface as required.
tmp< Field< Type > > interpolateField(const interpolation< Type > &) const
A class for handling keywords in dictionaries.
virtual bool expire()
Mark the surface as needing an update.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on surface.
Pre-declare SubField and related Field type.
labelList meshCells_
For every face the original cell in mesh.
TypeName("sampledThresholdCellFaces")
Runtime type information.
An abstract class for surfaces with sampling.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const scalar upperThreshold_
Threshold value.
keyType zoneKey_
If restricted to zones, name of this zone or a regular expression.
MeshedSurface< face > MeshStorage
Private typedefs for convenience.
A sampledSurface defined by the cell faces corresponding to a threshold value.
bool updateGeometry() const
Create surface (if time has changed)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const word & name() const
Name of surface.
virtual const faceList & faces() const
Faces of surface.
bool triangulate_
Triangulated faces or keep faces as is.
tmp< Field< Type > > sampleField(const GeometricField< Type, fvPatchField, volMesh > &vField) const
Sample field on faces.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Generic GeometricField class.
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
bool interpolate() const
Interpolation requested for surface.
virtual void print(Ostream &) const
Write.
virtual const pointField & points() const
Points of surface.