Go to the documentation of this file.
42 sampledPatchInternalField,
59 mappers_(patchIDs().size())
62 if (
dict.found(
"offsetMode"))
64 mode = mappedPatchBase::offsetModeNames_.read
66 dict.lookup(
"offsetMode")
72 case mappedPatchBase::NORMAL:
82 mesh.boundaryMesh()[patchIDs()[i]],
84 mappedPatchBase::NEARESTCELL,
93 case mappedPatchBase::UNIFORM:
95 const point offset(
dict.lookup(
"offset"));
103 mesh.boundaryMesh()[patchIDs()[i]],
105 mappedPatchBase::NEARESTCELL,
114 case mappedPatchBase::NONUNIFORM:
124 mesh.boundaryMesh()[patchIDs()[i]],
126 mappedPatchBase::NEARESTCELL,
151 return sampleField(vField);
160 return sampleField(vField);
168 return sampleField(vField);
177 return sampleField(vField);
186 return sampleField(vField);
195 return interpolateField(interpolator);
204 return interpolateField(interpolator);
214 return interpolateField(interpolator);
223 return interpolateField(interpolator);
232 return interpolateField(interpolator);
238 os <<
"sampledPatchInternalField: " <<
name() <<
" :"
240 <<
" faces:" << faces().
size()
241 <<
" points:" <<
points().size();
GeometricField< tensor, fvPatchField, volMesh > volTensorField
addNamedToRunTimeSelectionTable(fvPatch, cyclicAMIFvPatch, polyPatch, cyclicPeriodicAMI)
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
mode_t mode(const fileName &)
Return the file mode.
Mesh consisting of general polyhedral cells.
Pre-declare SubField and related Field type.
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
virtual void print(Ostream &) const
Write.
wordList patchNames(nPatches)
A list of keyword definitions, which are a keyword followed by any number of values (e....
sampledPatchInternalField(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
Macros for easy insertion into run-time selection tables.
scalar distance(const vector &p1, const vector &p2)
virtual ~sampledPatchInternalField()
Destructor.
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on surface.
offsetMode
How to project face centres.
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Generic GeometricField class.
bool interpolate() const
Interpolation requested for surface.
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
A sampledSurface on patches. Non-triangulated by default.