Direct field mapper. More...


Public Member Functions | |
| directFieldMapper () | |
| Null constructor. More... | |
| virtual | ~directFieldMapper () |
| Destructor. More... | |
| virtual bool | hasUnmapped () const =0 |
| Are there unmapped values? I.e. do all size() elements get. More... | |
| virtual const labelUList & | addressing () const =0 |
| Access to the direct map addressing. More... | |
| FOR_ALL_FIELD_TYPES (DEFINE_FIELD_MAPPER_OPERATOR,) | |
| Map a field. More... | |
| DEFINE_FIELD_MAPPER_OPERATOR (label,) | |
| Map a label field. More... | |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | map (const Field< Type > &mapF) const |
Public Member Functions inherited from fieldMapper | |
| fieldMapper () | |
| Null constructor. More... | |
| virtual | ~fieldMapper () |
| Destructor. 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 63 of file directFieldMapper.H.
|
inlinevirtual |
Destructor.
Definition at line 68 of file directFieldMapper.H.
References directFieldMapper::addressing(), directFieldMapper::DEFINE_FIELD_MAPPER_OPERATOR(), directFieldMapper::FOR_ALL_FIELD_TYPES(), and directFieldMapper::hasUnmapped().

|
pure virtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implements fieldMapper.
Implemented in directPointPatchFieldMapper, directFvPatchFieldMapper, and directPointPatchFieldMapper.
Referenced by directFieldMapper::~directFieldMapper().

|
pure virtual |
Access to the direct map addressing.
Implemented in directFvPatchFieldMapper, and directPointPatchFieldMapper.
Referenced by directFieldMapper::map(), and directFieldMapper::~directFieldMapper().

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

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

| Foam::tmp<Foam::Field<Type> > map | ( | const Field< Type > & | mapF | ) | const |
Definition at line 50 of file directFieldMapperTemplates.C.
References directFieldMapper::addressing(), tmp< T >::ref(), and tf.
