Go to the documentation of this file.
43 #ifndef sampledDiscreteSurface_H
44 #define sampledDiscreteSurface_H
58 class sampledDiscreteSurface;
104 const word& surfaceName,
122 const word& sampleSourceName
203 const word& fieldName
virtual ~sampledDiscreteSurface()
Destructor.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual bool hasFaceIds() const
If element ids/order of the original surface are kept.
Standard boundBox with extra functionality for use in octree.
virtual const labelList & zoneIds() const
Per-face zone/region information.
const vectorField & Sf() const
Face area vectors (normals)
const List< Face > & surfFaces() const
Return const access to the faces.
virtual void print(Ostream &os) const
Write.
virtual bool sampleAndStore(const objectRegistry &store, const word &fieldName) const
Sample the volume field onto surface,.
Mesh consisting of general polyhedral cells.
sampledDiscreteSurface(const word &name, const polyMesh &mesh, const word &surfaceName, const discreteSurface::samplingSource sampleSource)
Construct from components.
Registry of regIOobjects.
virtual const scalarField & magSf() const
Face area magnitudes.
const scalarField & magSf() const
Face area magnitudes.
Triangulated surface description with patch information.
The basis for sampling from triSurfaceMesh. It samples on the points/triangles of the triSurface.
virtual const vectorField & Sf() const
Face area vectors.
An abstract class for surfaces with sampling.
A sampledSurface from a triSurfaceMesh. It samples on the points/triangles of a triSurfaceMesh.
Abstract base class for interpolation.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual const labelList & zoneIds() const
Per-face zone/region information.
TypeName("sampledDiscreteSurface")
Runtime type information.
virtual const pointField & points() const
Points of surface.
virtual tmp< scalarField > sample(const interpolation< scalar > &sampler) const
Sample volume field onto surface faces.
virtual const labelList & originalIds() const
List of element ids/order of the original surface,.
virtual bool expire()
Mark the surface as needing an update.
virtual bool update()
Update the surface as required.
const word & name() const
Name of surface.
virtual const labelList & originalIds() const
List of element ids/order of the original surface,.
virtual bool needsUpdate() const
Does the surface need an update?
const vectorField & Cf() const
Face centres.
const polyMesh & mesh() const
Access to the underlying mesh.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool hasFaceIds() const
If element ids/order of the original surface are kept.
bool interpolate() const
Interpolation to nodes requested for surface.
samplingSource
Types of communications.
virtual const faceList & faces() const
Faces of surface.
virtual const vectorField & Cf() const
Face centres.