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.
References DEFINE_FIELD_MAPPER_OPERATOR, f(), fieldMapper::FOR_ALL_FIELD_TYPES(), fieldMapper::hasUnmapped(), and fieldMapper::operator()().

|
pure virtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implemented in meshToMesh0::patchFieldInterpolator, distributedWeightedFvPatchFieldMapper, fvPatchMapper, faceMapper, singleCellFvMesh::agglomPatchFieldMapper, fvSurfaceMapper, pointMapper, cellMapper, pointPatchMapper, pointFieldDecomposer::patchFieldDecomposer, directPointPatchFieldMapper, directFvPatchFieldMapper, directPointPatchFieldMapper, setSizeFieldMapper, generalFieldMapper, and directFieldMapper.
Referenced by fvPatchField< Type >::fvPatchField(), and fieldMapper::~fieldMapper().

| FOR_ALL_FIELD_TYPES | ( | DEFINE_FIELD_MAPPER_OPERATOR | ) |
Map a label field.
Referenced by fieldMapper::~fieldMapper().

Map a temporary field.
Definition at line 32 of file fieldMapperTemplates.C.
| Foam::tmp<Foam::Field<Type> > operator() | ( | const tmp< Field< Type >> & | tmapF | ) | const |
Definition at line 44 of file fieldMapperTemplates.C.
References tf.