Field sizing mapper which sets the field size and does not map values. More...
Public Member Functions | |
setSizeFieldMapper (const label size) | |
Construct given size. More... | |
virtual | ~setSizeFieldMapper () |
Destructor. More... | |
virtual bool | hasUnmapped () const |
All values are unmapped. 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 > > | setSize () 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 |
Field sizing mapper which sets the field size and does not map values.
Definition at line 45 of file setSizeFieldMapper.H.
setSizeFieldMapper | ( | const label | size | ) |
Construct given size.
Definition at line 30 of file setSizeFieldMapper.C.
|
inlinevirtual |
Destructor.
Definition at line 73 of file setSizeFieldMapper.H.
|
inlinevirtual |
All values are unmapped.
Implements fieldMapper.
Definition at line 80 of file setSizeFieldMapper.H.
References f().
Implements fieldMapper.
Definition at line 39 of file setSizeFieldMapper.C.
Implements fieldMapper.
Definition at line 49 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 59 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 69 of file setSizeFieldMapper.C.
Implements fieldMapper.
Definition at line 79 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 89 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 98 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 108 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 117 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 126 of file setSizeFieldMapper.C.
Foam::tmp<Foam::Field<Type> > setSize | ( | ) | const |
Definition at line 38 of file setSizeFieldMapperTemplates.C.