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() <<
" :"
238 os <<
" faces:" <<
faces().size()
239 <<
" 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 void print(Ostream &os, int level=0) const
Print information.
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.
bool interpolate() const noexcept
Same as isPointData()
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.
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
const word & name() const noexcept
Name of surface.
scalar distance(const vector &p1, const vector &p2)
offsetMode
How to project face centres.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
defineTypeNameAndDebug(combustionModel, 0)
A sampledSurface on patches. Non-triangulated by default.
virtual const faceList & faces() const
Faces of surface.