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 31 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 40 of file setSizeFieldMapper.C.
Implements fieldMapper.
Definition at line 50 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 60 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 70 of file setSizeFieldMapper.C.
Implements fieldMapper.
Definition at line 80 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 90 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 99 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 109 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 118 of file setSizeFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 127 of file setSizeFieldMapper.C.
Foam::tmp<Foam::Field<Type> > setSize | ( | ) | const |
Definition at line 38 of file setSizeFieldMapperTemplates.C.