Abstract base class for field mapping. More...
Public Member Functions | |
fieldMapper () | |
Null constructor. More... | |
virtual | ~fieldMapper () |
Destructor. More... | |
virtual bool | hasUnmapped () const =0 |
Are there unmapped values? I.e. do all size() elements get. More... | |
FOR_ALL_FIELD_TYPES (DEFINE_FIELD_MAPPER_OPERATOR,=0) | |
Map a field. More... | |
virtual void | operator() (Field< label > &f, const Field< label > &mapF) const =0 |
Map a label field. More... | |
virtual tmp< Field< label > > | operator() (const Field< label > &mapF) const =0 |
template<class Type > | |
void | operator() (Field< Type > &f, const tmp< Field< Type >> &tmapF) const |
Map a temporary field. More... | |
template<class Type > | |
tmp< Field< Type > > | operator() (const tmp< Field< Type >> &tmapF) const |
Map a temporary field. More... | |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | operator() (const tmp< Field< Type >> &tmapF) const |
|
inline |
Null constructor.
Definition at line 54 of file fieldMapper.H.
|
inlinevirtual |
Destructor.
Definition at line 59 of file fieldMapper.H.
|
pure virtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implemented in reverseFieldMapper, generalFieldMapper, directFieldMapper, faceMapper, cellMapper, pointPatchMapper, pointMapper, reversePointPatchFieldMapper, directPointPatchFieldMapper, setSizeFieldMapper, identityFieldMapper, patchToPatchNormalisedFvPatchFieldMapper, patchToPatchLeftOverFvPatchFieldMapper, singleCellFvMesh::agglomPatchFieldMapper, fvSurfaceMapper, fvPatchMapper, reverseFvPatchFieldMapper, identityFvPatchFieldMapper, directFvPatchFieldMapper, directPointPatchFieldMapper, meshToMesh0::patchFieldInterpolator, and pointFieldDecomposer::patchFieldDecomposer.
FOR_ALL_FIELD_TYPES | ( | DEFINE_FIELD_MAPPER_OPERATOR | ) |
Map a field.
Map a label field.
Map a temporary field.
Definition at line 31 of file fieldMapperTemplates.C.
References f().
Foam::tmp<Foam::Field<Type> > operator() | ( | const tmp< Field< Type >> & | tmapF | ) | const |
Definition at line 43 of file fieldMapperTemplates.C.
References tf.