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