fieldMapper Class Referenceabstract

Abstract base class for field mapping. More...

Inheritance diagram for fieldMapper:

Public Member Functions

 fieldMapper ()
 Null constructor. More...
 
virtual ~fieldMapper ()
 Destructor. More...
 
virtual bool hasUnmapped () const =0
 Are there unmapped values? I.e. do all size() elements get. More...
 
virtual void operator() (Field< scalar > &f, const Field< scalar > &mapF) const =0
 
virtual void operator() (Field< vector > &f, const Field< vector > &mapF) const =0
 
virtual void operator() (Field< sphericalTensor > &f, const Field< sphericalTensor > &mapF) const =0
 
virtual void operator() (Field< symmTensor > &f, const Field< symmTensor > &mapF) const =0
 
virtual void operator() (Field< tensor > &f, const Field< tensor > &mapF) const =0
 
template<class Type >
void operator() (Field< Type > &f, const tmp< Field< Type >> &tmapF) const
 
virtual tmp< Field< scalar > > operator() (const Field< scalar > &mapF) const =0
 
virtual tmp< Field< vector > > operator() (const Field< vector > &mapF) const =0
 
virtual tmp< Field< sphericalTensor > > operator() (const Field< sphericalTensor > &mapF) const =0
 
virtual tmp< Field< symmTensor > > operator() (const Field< symmTensor > &mapF) const =0
 
virtual tmp< Field< tensor > > operator() (const Field< tensor > &mapF) const =0
 
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

Abstract base class for field mapping.

Definition at line 46 of file fieldMapper.H.

Constructor & Destructor Documentation

◆ fieldMapper()

fieldMapper ( )
inline

Null constructor.

Definition at line 54 of file fieldMapper.H.

◆ ~fieldMapper()

virtual ~fieldMapper ( )
inlinevirtual

Destructor.

Definition at line 59 of file fieldMapper.H.

References f(), fieldMapper::hasUnmapped(), and fieldMapper::operator()().

Here is the call graph for this function:

Member Function Documentation

◆ hasUnmapped()

◆ operator()() [1/13]

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

Implemented in distributedWeightedFvPatchFieldMapper, generalFieldMapper, setSizeFieldMapper, and directFieldMapper.

Referenced by fieldMapper::~fieldMapper().

Here is the caller graph for this function:

◆ operator()() [2/13]

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

◆ operator()() [3/13]

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

◆ operator()() [4/13]

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

◆ operator()() [5/13]

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

◆ operator()() [6/13]

void operator() ( Field< Type > &  f,
const tmp< Field< Type >> &  tmapF 
) const

Definition at line 32 of file fieldMapperTemplates.C.

◆ operator()() [7/13]

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

◆ operator()() [8/13]

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

◆ operator()() [9/13]

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

◆ operator()() [10/13]

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

◆ operator()() [11/13]

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

◆ operator()() [12/13]

tmp<Field<Type> > operator() ( const tmp< Field< Type >> &  tmapF) const

◆ operator()() [13/13]

Foam::tmp<Foam::Field<Type> > operator() ( const tmp< Field< Type >> &  tmapF) const

Definition at line 44 of file fieldMapperTemplates.C.

References tf.


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