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... | |
virtual void | operator() (Field< scalar > &f, const Field< scalar > &mapF) const |
virtual void | operator() (Field< vector > &f, const Field< vector > &mapF) const |
virtual void | operator() (Field< sphericalTensor > &f, const Field< sphericalTensor > &mapF) const |
virtual void | operator() (Field< symmTensor > &f, const Field< symmTensor > &mapF) const |
virtual void | operator() (Field< tensor > &f, const Field< tensor > &mapF) const |
virtual tmp< Field< scalar > > | operator() (const Field< scalar > &mapF) const |
virtual tmp< Field< vector > > | operator() (const Field< vector > &mapF) const |
virtual tmp< Field< sphericalTensor > > | operator() (const Field< sphericalTensor > &mapF) const |
virtual tmp< Field< symmTensor > > | operator() (const Field< symmTensor > &mapF) const |
virtual tmp< Field< tensor > > | operator() (const Field< tensor > &mapF) const |
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... | |
template<class Type > | |
void | operator() (Field< Type > &f, const tmp< Field< Type >> &tmapF) const |
template<class Type > | |
tmp< Field< Type > > | operator() (const tmp< Field< Type >> &tmapF) const |
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(), f(), 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().
Implements fieldMapper.
Definition at line 31 of file directFieldMapper.C.
Implements fieldMapper.
Definition at line 41 of file directFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 51 of file directFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 61 of file directFieldMapper.C.
Implements fieldMapper.
Definition at line 71 of file directFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 81 of file directFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 90 of file directFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 100 of file directFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 109 of file directFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 118 of file directFieldMapper.C.
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.