setSizeFieldMapper Class Reference

Field sizing mapper which sets the field size and does not map values. More...

Inheritance diagram for setSizeFieldMapper:
Collaboration diagram for setSizeFieldMapper:

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
 

Detailed Description

Field sizing mapper which sets the field size and does not map values.

Definition at line 45 of file setSizeFieldMapper.H.

Constructor & Destructor Documentation

◆ setSizeFieldMapper()

setSizeFieldMapper ( const label  size)

Construct given size.

Definition at line 30 of file setSizeFieldMapper.C.

◆ ~setSizeFieldMapper()

virtual ~setSizeFieldMapper ( )
inlinevirtual

Destructor.

Definition at line 73 of file setSizeFieldMapper.H.

Member Function Documentation

◆ hasUnmapped()

virtual bool hasUnmapped ( ) const
inlinevirtual

All values are unmapped.

Implements fieldMapper.

Definition at line 80 of file setSizeFieldMapper.H.

References f().

Here is the call graph for this function:

◆ operator()() [1/10]

void operator() ( Field< scalar > &  f,
const Field< scalar > &  mapF 
) const
virtual

Implements fieldMapper.

Definition at line 39 of file setSizeFieldMapper.C.

◆ operator()() [2/10]

void operator() ( Field< vector > &  f,
const Field< vector > &  mapF 
) const
virtual

Implements fieldMapper.

Definition at line 49 of file setSizeFieldMapper.C.

◆ operator()() [3/10]

void operator() ( Field< sphericalTensor > &  f,
const Field< sphericalTensor > &  mapF 
) const
virtual

Implements fieldMapper.

Definition at line 59 of file setSizeFieldMapper.C.

◆ operator()() [4/10]

void operator() ( Field< symmTensor > &  f,
const Field< symmTensor > &  mapF 
) const
virtual

Implements fieldMapper.

Definition at line 69 of file setSizeFieldMapper.C.

◆ operator()() [5/10]

void operator() ( Field< tensor > &  f,
const Field< tensor > &  mapF 
) const
virtual

Implements fieldMapper.

Definition at line 79 of file setSizeFieldMapper.C.

◆ operator()() [6/10]

Foam::tmp< Foam::Field< Foam::scalar > > operator() ( const Field< scalar > &  mapF) const
virtual

Implements fieldMapper.

Definition at line 89 of file setSizeFieldMapper.C.

◆ operator()() [7/10]

Foam::tmp< Foam::Field< Foam::vector > > operator() ( const Field< vector > &  mapF) const
virtual

Implements fieldMapper.

Definition at line 98 of file setSizeFieldMapper.C.

◆ operator()() [8/10]

Foam::tmp< Foam::Field< Foam::sphericalTensor > > operator() ( const Field< sphericalTensor > &  mapF) const
virtual

Implements fieldMapper.

Definition at line 108 of file setSizeFieldMapper.C.

◆ operator()() [9/10]

Foam::tmp< Foam::Field< Foam::symmTensor > > operator() ( const Field< symmTensor > &  mapF) const
virtual

Implements fieldMapper.

Definition at line 117 of file setSizeFieldMapper.C.

◆ operator()() [10/10]

Foam::tmp< Foam::Field< Foam::tensor > > operator() ( const Field< tensor > &  mapF) const
virtual

Implements fieldMapper.

Definition at line 126 of file setSizeFieldMapper.C.

◆ setSize()

Foam::tmp<Foam::Field<Type> > setSize ( ) const

Definition at line 38 of file setSizeFieldMapperTemplates.C.


The documentation for this class was generated from the following files: