45 sampledPatchInternalField,
142 const interpolation<scalar>& sampler
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()
virtual void print(Ostream &os, int level=0) const
Print information.
const labelList patchIDs(pbm.indices(polyPatchNames, true))
use face normal + distance
void size(const label n)
Older name for setAddressableSize.
bool interpolate() const noexcept
Same as isPointData()
static const Enum< offsetMode > offsetModeNames_
const polyMesh & mesh() const noexcept
Access to the underlying mesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const word & name() const noexcept
Return the object name.
scalar distance(const vector &p1, const vector &p2)
EnumType getOrDefault(const word &key, const dictionary &dict, const EnumType deflt, const bool warnOnly=false) const
Find the key in the dictionary and return the corresponding enumeration element based on its name...
Macros for easy insertion into run-time selection tables.
addNamedToRunTimeSelectionTable(topoSetCellSource, badQualityToCell, word, badQuality)
A sampledSurface on patches. Non-triangulated by default.
#define forAll(list, i)
Loop across all elements in list.
vectorField pointField
pointField is a vectorField.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
const polyBoundaryMesh & boundaryMesh() const noexcept
Return boundary mesh.
A class for handling words, derived from Foam::string.
wordList patchNames(nPatches)
static const word null
An empty word.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
defineTypeNameAndDebug(combustionModel, 0)
offsetMode
How to project face centres.
const labelList & patchIDs() const
The patches selected.
vector point
Point is a vector.
sampledPatchInternalField(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
nearest cell containing sample
Abstract base class for volume field interpolation.
virtual tmp< scalarField > sample(const interpolation< scalar > &sampler) const
Sample boundary of volume field onto surface faces.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
mode_t mode(const fileName &name, const bool followLink=true)
Return the file mode, normally following symbolic links.