Go to the documentation of this file.
68 #ifndef sampledTriSurfaceMesh_H
69 #define sampledTriSurfaceMesh_H
162 const word& surfaceName,
180 const word& sampleSourceName
virtual const pointField & points() const
Points of surface.
virtual void print(Ostream &) const
Write.
tmp< Field< Type > > sampleField(const GeometricField< Type, fvPatchField, volMesh > &vField) const
Sample field on faces.
A class for handling words, derived from 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.
bool needsUpdate_
Track if the surface needs an update.
pointField samplePoints_
Local points to sample per point.
autoPtr< indexedOctree< treeDataFace > > boundaryTreePtr_
Search tree for all non-coupled boundary faces.
virtual bool update()
Update the surface as required.
A class for managing temporary objects.
samplingSource
Types of communications.
Standard boundBox + extra functionality for use in octree.
const samplingSource sampleSource_
Whether to sample internal cell values or boundary values.
static const NamedEnum< samplingSource, 3 > samplingSourceNames_
IOoject and searching on triSurface.
const triSurfaceMesh surface_
Surface to sample on.
labelList sampleElements_
From local surface triangle to mesh cell/face.
const List< Face > & faces() const
Return const access to the faces.
Mesh consisting of general polyhedral cells.
A sampledSurface from a triSurfaceMesh. It samples on the points/triangles of the triSurface.
Pre-declare SubField and related Field type.
Triangulated surface description with patch information.
MeshedSurface< face > MeshStorage
Private typedefs for convenience.
Non-pointer based hierarchical recursive searching.
An abstract class for surfaces with sampling.
A list of keyword definitions, which are a keyword followed by any number of values (e....
TypeName("sampledTriSurfaceMesh")
Runtime type information.
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on surface.
const indexedOctree< treeDataFace > & nonCoupledboundaryTree() const
Get tree of all non-coupled boundary faces.
tmp< Field< Type > > interpolateField(const interpolation< Type > &) const
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const word & name() const
Name of surface.
virtual ~sampledTriSurfaceMesh()
Destructor.
const polyMesh & mesh() const
Access to the underlying mesh.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Generic GeometricField class.
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
virtual bool expire()
Mark the surface as needing an update.
bool interpolate() const
Interpolation requested for surface.