62 #ifndef sampledInterface_H 63 #define sampledInterface_H 79 class sampledInterface
89 mutable word exposedPatchName_;
97 mutable label prevTimeIndex_;
107 bool updateGeometry()
const;
bool interpolate() const noexcept
Same as isPointData()
virtual const pointField & points() const
Points of surface.
const polyMesh & mesh() const noexcept
Access to the underlying mesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual tmp< scalarField > sample(const interpolation< scalar > &sampler) const
Sample volume field onto surface faces.
const vectorField & Sf() const
Face area vectors (normals)
virtual bool expire()
Mark the surface as needing an update.
static const List< label > & null()
Return a null List.
const word & name() const noexcept
Name of surface.
virtual const faceList & faces() const
Faces of surface.
List< face > faceList
List of faces.
TypeName("sampledInterface")
Runtime type information.
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 const vectorField & Sf() const
Face area magnitudes.
virtual void print(Ostream &os, int level=0) const
Print information.
A List of wordRe with additional matching capabilities.
const Field< point_type > & points() const noexcept
Return reference to global points.
virtual bool update()
Update the surface as required.
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 const vectorField & Cf() const
Face centres.
virtual const scalarField & magSf() const
Face area magnitudes.
const vectorField & Cf() const
Face centres.
const reconstructionSchemes::interface & surface() const
Abstract base class for volume field interpolation.
Field< vector > vectorField
Specialisation of Field<T> for vector.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
virtual ~sampledInterface()=default
Destructor.
virtual bool needsUpdate() const
Does the surface need an update?
A class for managing temporary objects.
sampledInterface(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
virtual const labelList & zoneIds() const
Const access to per-face zone/region information.