62 mappers_(patchIDs().size())
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()
Macros for easy insertion into run-time selection tables.
#define addNamedToRunTimeSelectionTable(baseType, thisType, argNames, lookupName)
Add to construction table with 'lookupName' as the key.
EnumType getOrDefault(const word &key, const dictionary &dict, const EnumType deflt, const bool failsafe=false) const
Minimal example by using system/controlDict.functions:
const word & name() const noexcept
Return the object name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Abstract base class for volume field interpolation.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
@ NEARESTCELL
nearest cell containing sample
offsetMode
How to project face centres.
@ NORMAL
use face normal + distance
@ UNIFORM
single offset vector
@ NONUNIFORM
per-face offset vector
static const Enum< offsetMode > offsetModeNames_
scalar print()
Print to screen.
Mesh consisting of general polyhedral cells.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
Variation of sampledPatch that samples the internalField (at a given normal distance from the patch) ...
A sampledSurface on patches. Non-triangulated by default.
const labelList & patchIDs() const
The patches selected.
An abstract class for surfaces with sampling.
const polyMesh & mesh() const noexcept
Access to the underlying mesh.
bool interpolate() const noexcept
Same as isPointData()
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
scalar distance(const vector &p1, const vector &p2)
mode_t mode(const fileName &name, const bool followLink=true)
Return the file mode, normally following symbolic links.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
wordList patchNames(nPatches)
#define forAll(list, i)
Loop across all elements in list.