Go to the documentation of this file.
45 sampledPatchInternalField,
62 mappers_(patchIDs().size())
65 mappedPatchBase::offsetModeNames_.getOrDefault
67 "offsetMode",
dict, mappedPatchBase::NORMAL
72 case mappedPatchBase::NORMAL:
82 mesh.boundaryMesh()[patchIDs()[i]],
84 mappedPatchBase::NEARESTCELL,
93 case mappedPatchBase::UNIFORM:
103 mesh.boundaryMesh()[patchIDs()[i]],
105 mappedPatchBase::NEARESTCELL,
114 case mappedPatchBase::NONUNIFORM:
124 mesh.boundaryMesh()[patchIDs()[i]],
126 mappedPatchBase::NEARESTCELL,
145 return sampleOnFaces(sampler);
154 return sampleOnFaces(sampler);
163 return sampleOnFaces(sampler);
172 return sampleOnFaces(sampler);
181 return sampleOnFaces(sampler);
190 return sampleOnPoints(interpolator);
199 return sampleOnPoints(interpolator);
209 return sampleOnPoints(interpolator);
218 return sampleOnPoints(interpolator);
227 return sampleOnPoints(interpolator);
233 os <<
"sampledPatchInternalField: " <<
name() <<
" :"
235 <<
" faces:" <<
faces().size()
236 <<
" points:" <<
points().size();
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
const wordRes & patchNames() const
The selection (word/regex) of patches.
virtual tmp< scalarField > sample(const interpolation< scalar > &sampler) const
Sample boundary of volume field onto surface faces.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
virtual const pointField & points() const
Points of surface.
Mesh consisting of general polyhedral cells.
#define forAll(list, i)
Loop across all elements in list.
mode_t mode(const fileName &name, const bool followLink=true)
Return the file mode, normally following symbolic links.
word name(const complex &c)
Return string representation of complex.
addNamedToRunTimeSelectionTable(topoSetCellSource, badQualityToCell, word, badQuality)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
sampledPatchInternalField(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
Macros for easy insertion into run-time selection tables.
scalar distance(const vector &p1, const vector &p2)
virtual void print(Ostream &os) const
Print information.
const word & name() const
Name of surface.
offsetMode
How to project face centres.
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)
A sampledSurface on patches. Non-triangulated by default.
virtual const faceList & faces() const
Faces of surface.