Go to the documentation of this file.
97 #ifndef sampledTriSurfaceMesh_H
98 #define sampledTriSurfaceMesh_H
117 class sampledTriSurfaceMesh
119 public sampledSurface,
139 static const Enum<samplingSource> samplingSourceNames_;
148 mutable bool needsUpdate_;
204 const word& surfaceName,
222 const word& sampleSourceName
virtual const pointField & points() const
Points of surface.
List< label > labelList
A List of labels.
A class for handling words, derived from Foam::string.
Various (local, not parallel) searches on polyMesh; uses (demand driven) octree to search.
virtual const faceList & faces() const
Faces of surface.
virtual bool needsUpdate() const
Does the surface need an update?
sampledTriSurfaceMesh(const word &name, const polyMesh &mesh, const word &surfaceName, const samplingSource sampleSource)
Construct from components.
virtual bool update()
Update the surface as required.
A class for managing temporary objects.
virtual tmp< scalarField > sample(const interpolation< scalar > &sampler) const
Sample volume field onto surface faces.
samplingSource
Types of communications.
Standard boundBox with extra functionality for use in octree.
const vectorField & Sf() const
Face area vectors (normals)
const List< face > & surfFaces() const
Return const access to the faces.
bool onBoundary() const
Sampling boundary values instead of cell values.
IOoject and searching on triSurface.
Mesh consisting of general polyhedral cells.
Field< vector > vectorField
Specialisation of Field<T> for vector.
A sampledSurface from a triSurfaceMesh. It samples on the points/triangles of the triSurface.
const scalarField & magSf() const
Face area magnitudes.
Triangulated surface description with patch information.
Non-pointer based hierarchical recursive searching.
virtual const labelList & zoneIds() const
Per-face zone/region 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,...
TypeName("sampledTriSurfaceMesh")
Runtime type information.
virtual const vectorField & Sf() const
Face area vectors.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static void setZoneMap(const surfZoneList &zoneLst, labelList &zoneIds)
Set new zoneIds list based on the surfZoneList information.
MeshedSurface< face > meshedSurface
virtual bool hasFaceIds() const
If element ids/order of the original surface are kept.
const word & name() const
Name of surface.
virtual const scalarField & magSf() const
Face area magnitudes.
virtual const vectorField & Cf() const
Face centres.
virtual ~sampledTriSurfaceMesh()
Destructor.
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.
bool interpolate() const
Interpolation to nodes requested for surface.
virtual const labelList & originalIds() const
List of element ids/order of the original surface,.
virtual void print(Ostream &os) const
Write.