Go to the documentation of this file.
74 #ifndef sampledDistanceSurface_H
75 #define sampledDistanceSurface_H
89 class sampledDistanceSurface
91 public sampledSurface,
92 public distanceSurface
100 mutable bool needsUpdate_;
107 tmp<Field<Type>> sampleOnFaces
109 const interpolation<Type>& sampler
114 tmp<Field<Type>> sampleOnPoints
116 const interpolation<Type>& interpolation
121 tmp<Field<Type>> sampleOnIsoSurfacePoints
123 const interpolation<Type>& interpolator
139 const polyMesh&
mesh,
140 const dictionary&
dict
202 virtual tmp<scalarField>
sample
204 const interpolation<scalar>& sampler
208 virtual tmp<vectorField>
sample
210 const interpolation<vector>& sampler
214 virtual tmp<sphericalTensorField>
sample
216 const interpolation<sphericalTensor>& sampler
220 virtual tmp<symmTensorField>
sample
222 const interpolation<symmTensor>& sampler
226 virtual tmp<tensorField>
sample
228 const interpolation<tensor>& sampler
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static const List< label > & null()
Return a null List.
A class for handling words, derived from Foam::string.
virtual bool expire()
Mark the surface as needing an update.
A class for managing temporary objects.
virtual ~sampledDistanceSurface()=default
Destructor.
const vectorField & Sf() const
Face area vectors (normals)
virtual const faceList & faces() const
Faces of surface.
const List< Face > & surfFaces() const
Return const access to the faces.
virtual void print(Ostream &os) const
Print information.
virtual const vectorField & Sf() const
Face area vectors.
Mesh consisting of general polyhedral cells.
Field< vector > vectorField
Specialisation of Field<T> for vector.
virtual const pointField & points() const
Points of surface.
A surface defined by a distance from an input searchable surface. Uses an iso-surface algorithm (cell...
const scalarField & magSf() const
Face area magnitudes.
virtual tmp< scalarField > sample(const interpolation< scalar > &sampler) const
Sample volume field onto surface faces.
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,...
virtual bool needsUpdate() const
Does the surface need an update?
virtual const labelList & zoneIds() const
Per-face zone/region information.
const meshedSurface & surface() const
The underlying surface.
virtual const vectorField & Cf() const
Face centres.
virtual bool update()
Update the surface as required.
const word & name() const
Name of surface.
A sampledSurface defined by a distance to a surface - resolved using an iso-surface (algorithm: cell,...
virtual const scalarField & magSf() const
Face area magnitudes.
sampledDistanceSurface(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
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,...
bool interpolate() const
Interpolation to nodes requested for surface.
TypeName("sampledDistanceSurface")
Runtime type information.