Go to the documentation of this file.
46 #ifndef mappedPatchFieldBase_H
47 #define mappedPatchFieldBase_H
101 const word& fieldName,
102 const bool setAverage,
104 const word& interpolationScheme
const Type average_
Average value the mapped field is adjusted to maintain if.
A class for handling words, derived from 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 any number of values (e....
word interpolationScheme_
Interpolation scheme to use for nearestcell mode.
virtual void write(Ostream &) const
Write.
const mappedPatchBase & mapper_
Mapping engine.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Generic GeometricField class.
const GeometricField< Type, fvPatchField, volMesh > & sampleField() const
Field to sample. Either on my or nbr mesh.
const bool setAverage_
If true adjust the mapped field to maintain average value average_.
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)