Go to the documentation of this file.
61 #ifndef sampledFaceZone_H
62 #define sampledFaceZone_H
88 const wordRes selectionNames_;
97 mutable bool needsUpdate_;
List< label > labelList
A List of labels.
virtual const labelList & zoneIds() const
Per-face zone/region information.
sampledFaceZone(const word &name, const polyMesh &mesh, const UList< wordRe > &zoneNames, const bool triangulate=false)
Construct from components.
static const List< T > & null()
Return a null List.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
const labelList & zoneIDs() const
The selected face zones (sorted)
A class for handling words, derived from Foam::string.
virtual label triangulate()
Triangulate in-place, returning the number of triangles added.
A class for managing temporary objects.
const vectorField & Sf() const
Face area vectors (normals)
virtual bool withSurfaceFields() const
Can it sample surface-fields?
const List< face > & surfFaces() const
Return const access to the faces.
virtual const vectorField & Sf() const
Face area vectors (normals)
Mesh consisting of general polyhedral cells.
virtual const vectorField & Cf() const
Face centres.
Field< vector > vectorField
Specialisation of Field<T> for vector.
virtual bool expire()
Mark the surface as needing an update.
const scalarField & magSf() const
Face area magnitudes.
bool interpolate() const noexcept
Same as isPointData()
A sampledSurface defined by a faceZone or faceZones.
virtual bool update()
Update the surface as required.
TypeName("faceZone")
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,...
OBJstream os(runTime.globalPath()/outputName)
virtual tmp< scalarField > sample(const interpolation< scalar > &sampler) const
Sample volume field onto surface faces.
const word & name() const noexcept
Name of surface.
virtual const scalarField & magSf() const
Face area magnitudes.
MeshedSurface< face > meshedSurface
const polyMesh & mesh() const noexcept
Access to the underlying mesh.
A List of wordRe with additional matching capabilities.
virtual bool needsUpdate() const
Does the surface need an update?
virtual void print(Ostream &os, int level=0) const
Print information.
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.
Generic GeometricField class.
virtual ~sampledFaceZone()=default
Destructor.
virtual const faceList & faces() const
Faces of surface.