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.
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,...
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_
Mesh consisting of general polyhedral cells.
Variation of sampledPatch that samples the internalField (at a given normal distance from the patch) ...
sampledPatchInternalField(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
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.
A sampledSurface on patches. Non-triangulated by default.
const labelList & patchIDs() const
The patches selected.
virtual const faceList & faces() const
Faces of surface.
sampledPatch(const word &name, const polyMesh &mesh, const UList< wordRe > &patchNames, const bool triangulate=false)
Construct from components.
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.
static const word null
An empty word.
#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.
vector point
Point is a vector.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
vectorField pointField
pointField is a vectorField.
wordList patchNames(nPatches)
#define forAll(list, i)
Loop across all elements in list.