33 namespace sampledSurfaces
51 mappers_(patchIndices().size())
55 if (
dict.found(
"distance"))
57 mappersDict.
set(
"distance", -mappersDict.
lookup<scalar>(
"distance"));
89 return sampleField(vField);
99 return sampleField(vField);
108 return sampleField(vField);
118 return sampleField(vField);
128 return sampleField(vField);
138 return interpolateField(interpolator);
148 return interpolateField(interpolator);
158 return interpolateField(interpolator);
168 return interpolateField(interpolator);
178 return interpolateField(interpolator);
184 os <<
"patchInternalField: " <<
name() <<
" :"
186 <<
" faces:" << faces().size()
187 <<
" points:" <<
points().size();
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
void set(entry *)
Assign a new entry, overwrite any existing entry.
Abstract base class for interpolation.
Engine which provides mapping from cells to patch faces.
Mesh consisting of general polyhedral cells.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
An abstract class for surfaces with sampling.
bool interpolate() const
Interpolation requested for surface.
const polyMesh & mesh() const
Access to the underlying mesh.
Variation of sampledPatch that samples the internalField (at a given normal distance from the patch) ...
patchInternalField(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
virtual ~patchInternalField()
Destructor.
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on surface.
virtual void print(Ostream &) const
Write.
A sampledSurface on patches. Non-triangulated by default.
const labelList & patchIndices() const
A class for managing temporary objects.
A class for handling words, derived from string.
defineTypeNameAndDebug(cutPlane, 0)
addToRunTimeSelectionTable(sampledSurface, cutPlane, word)
word name(const bool)
Return a word representation of a bool.
wordList patchNames(nPatches)