Go to the documentation of this file.
44 sampledDistanceSurface,
62 average_(
dict.getOrDefault(
"average",
false)),
79 Pout<<
"sampledDistanceSurface::expire :"
80 <<
" needsUpdate:" << needsUpdate_ <<
endl;
101 Pout<<
"sampledDistanceSurface::update :"
102 <<
" needsUpdate:" << needsUpdate_ <<
endl;
112 needsUpdate_ =
false;
122 return sampleOnFaces(sampler);
131 return sampleOnFaces(sampler);
140 return sampleOnFaces(sampler);
149 return sampleOnFaces(sampler);
158 return sampleOnFaces(sampler);
167 return sampleOnPoints(interpolator);
176 return sampleOnPoints(interpolator);
184 return sampleOnPoints(interpolator);
193 return sampleOnPoints(interpolator);
202 return sampleOnPoints(interpolator);
208 os <<
"distanceSurface: " <<
name() <<
" :";
int debug
Static debugging option.
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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void print(Ostream &os) const
Print information.
prefixOSstream Pout
An Ostream wrapper for parallel output to std::cout.
Mesh consisting of general polyhedral cells.
A surface defined by a distance from an input searchable surface. Uses an iso-surface algorithm (cell...
word name(const complex &c)
Return string representation of complex.
addNamedToRunTimeSelectionTable(topoSetCellSource, badQualityToCell, word, badQuality)
virtual tmp< scalarField > sample(const interpolation< scalar > &sampler) const
Sample volume field onto surface faces.
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 bool needsUpdate() const
Does the surface need an update?
void print(Ostream &os) const
Print information.
virtual bool update()
Update the surface as required.
void createGeometry()
Create/recreate the distance surface.
sampledDistanceSurface(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
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)