Go to the documentation of this file.
101 #ifndef sampledMeshedSurface_H
102 #define sampledMeshedSurface_H
120 class sampledMeshedSurface
122 public sampledSurface,
142 static const Enum<samplingSource> samplingSourceNames_;
154 mutable bool needsUpdate_;
203 const word& surfaceName,
const labelList & faceIds() const
Return const access to faces ids.
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual const scalarField & magSf() const
Face area magnitudes.
virtual bool needsUpdate() const
Does the surface need an update?
A class for handling words, derived from Foam::string.
Various (local, not parallel) searches on polyMesh; uses (demand driven) octree to search.
samplingSource
Types of sampling regions.
sampledMeshedSurface(const word &name, const polyMesh &mesh, const word &surfaceName, const samplingSource sampleSource)
Construct from components.
A class for managing temporary objects.
Standard boundBox with extra functionality for use in octree.
virtual const labelList & faceIds() const
Per-face identifier (eg, element Id)
const vectorField & Sf() const
Face area vectors (normals)
const List< face > & surfFaces() const
Return const access to the faces.
virtual const vectorField & Sf() const
Face area vectors.
virtual bool update()
Update the surface as required.
bool onBoundary() const
Sampling boundary values instead of cell values.
Mesh consisting of general polyhedral cells.
Field< vector > vectorField
Specialisation of Field<T> for vector.
const scalarField & magSf() const
Face area magnitudes.
An abstract class for surfaces with sampling.
virtual void print(Ostream &os) const
Write.
Abstract base class for interpolation.
virtual bool hasFaceIds() const
If element ids/order of the original surface are kept.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A sampledSurface from a meshed surface. It samples on the points/faces of the meshed surface.
virtual ~sampledMeshedSurface()=default
Destructor.
virtual const pointField & points() const
Points of surface.
MeshedSurface< face > meshedSurface
const word & name() const
Name of surface.
virtual const faceList & faces() const
Faces of surface.
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 expire()
Mark the surface as needing an update.
virtual tmp< scalarField > sample(const interpolation< scalar > &sampler) const
Sample volume field onto surface faces.
virtual const labelList & zoneIds() const
Per-face zone/region information.
bool interpolate() const
Interpolation to nodes requested for surface.
virtual const vectorField & Cf() const
Face centres.
TypeName("sampledMeshedSurface")
Declare type-name, virtual type (with debug switch)