Go to the documentation of this file.
56 #ifndef mappedPatchFieldBase_H
57 #define mappedPatchFieldBase_H
68 class mappedPatchBase;
69 template<
class>
class interpolation;
76 class mappedPatchFieldBase
81 static Type getAverage(
const dictionary&
dict,
bool mandatory);
116 const word& fieldName,
117 const bool setAverage,
119 const word& interpolationScheme
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A class for handling words, derived from Foam::string.
mappedPatchFieldBase(const mappedPatchBase &mapper, const fvPatchField< Type > &patchField, const word &fieldName, const bool setAverage, const Type average, const word &interpolationScheme)
Construct from components.
A class for managing temporary objects.
const fvPatchField< Type > & patchField_
Underlying patch field.
virtual tmp< Field< Type > > mappedField() const
Map sampleField onto *this patch.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
word fieldName_
Name of field to sample.
Abstract base class for interpolation.
Functionality for sampling fields using mappedPatchBase. Every call to mappedField() returns a sample...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
word interpolationScheme_
Interpolation scheme to use for nearestcell mode.
virtual void write(Ostream &os) const
Write.
const mappedPatchBase & mapper_
Mapping engine.
const GeometricField< Type, fvPatchField, volMesh > & sampleField() const
Field to sample. Either on my or nbr mesh.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const bool setAverage_
If true adjust the mapped field to maintain average value average_.
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)