Go to the documentation of this file.
46 sampledDiscreteSurface,
57 const word& surfaceName,
83 const word& sampleSourceName
101 return SurfaceSource::needsUpdate();
107 if (SurfaceSource::expire())
134 const word& fieldName
137 return SurfaceSource::sampleAndStore(store, fieldName);
146 return SurfaceSource::sampleOnFaces(sampler);
155 return SurfaceSource::sampleOnFaces(sampler);
163 return SurfaceSource::sampleOnFaces(sampler);
172 return SurfaceSource::sampleOnFaces(sampler);
181 return SurfaceSource::sampleOnFaces(sampler);
190 return SurfaceSource::sampleOnPoints(interpolator);
199 return SurfaceSource::sampleOnPoints(interpolator);
207 return SurfaceSource::sampleOnPoints(interpolator);
216 return SurfaceSource::sampleOnPoints(interpolator);
225 return SurfaceSource::sampleOnPoints(interpolator);
231 os <<
"sampledDiscreteSurface: " <<
name() <<
" :";
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
virtual ~sampledDiscreteSurface()
Destructor.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
Standard boundBox with extra functionality for use in octree.
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.
Triangulated surface description with patch information.
word name(const complex &c)
Return string representation of complex.
The basis for sampling from triSurfaceMesh. It samples on the points/triangles of the triSurface.
An abstract class for surfaces with sampling.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
virtual tmp< scalarField > sample(const interpolation< scalar > &sampler) const
Sample volume field onto surface faces.
virtual bool expire()
Mark the surface as needing an update.
virtual bool update()
Update the surface as required.
Ostream & print(Ostream &os, UIntType value, char off='0', char on='1')
Print 0/1 bits in the (unsigned) integral type.
virtual void clearGeom() const
Additional cleanup when clearing the geometry.
virtual bool needsUpdate() const
Does the surface need an update?
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool interpolate() const
Interpolation to nodes requested for surface.
defineTypeNameAndDebug(combustionModel, 0)
samplingSource
Types of communications.