identityFieldMapper Class Reference

Identity field mapper. More...

Inheritance diagram for identityFieldMapper:
Collaboration diagram for identityFieldMapper:

Public Member Functions

 identityFieldMapper ()
 Null constructor. More...
 
virtual ~identityFieldMapper ()
 Destructor. More...
 
virtual bool hasUnmapped () const
 Are there unmapped values? I.e. do all size() elements get. More...
 
 FOR_ALL_FIELD_TYPES (DEFINE_FIELD_MAPPER_OPERATOR,)
 Map a field. More...
 
 DEFINE_FIELD_MAPPER_OPERATOR (label,)
 Map a label field. More...
 
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...
 
 FOR_ALL_FIELD_TYPES (DEFINE_FIELD_MAPPER_OPERATOR,=0)
 Map a field. More...
 
virtual void operator() (Field< label > &f, const Field< label > &mapF) const =0
 Map a label field. More...
 
virtual tmp< Field< label > > operator() (const Field< label > &mapF) const =0
 
template<class Type >
void operator() (Field< Type > &f, const tmp< Field< Type >> &tmapF) const
 Map a temporary field. More...
 
template<class Type >
tmp< Field< Type > > operator() (const tmp< Field< Type >> &tmapF) const
 Map a temporary field. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > operator() (const tmp< Field< Type >> &tmapF) const
 

Detailed Description

Identity field mapper.

Definition at line 45 of file identityFieldMapper.H.

Constructor & Destructor Documentation

◆ identityFieldMapper()

identityFieldMapper ( )
inline

Null constructor.

Definition at line 63 of file identityFieldMapper.H.

◆ ~identityFieldMapper()

virtual ~identityFieldMapper ( )
inlinevirtual

Destructor.

Definition at line 68 of file identityFieldMapper.H.

Member Function Documentation

◆ hasUnmapped()

virtual bool hasUnmapped ( ) const
inlinevirtual

Are there unmapped values? I.e. do all size() elements get.

get value

Implements fieldMapper.

Reimplemented in identityFvPatchFieldMapper.

Definition at line 76 of file identityFieldMapper.H.

◆ FOR_ALL_FIELD_TYPES()

FOR_ALL_FIELD_TYPES ( DEFINE_FIELD_MAPPER_OPERATOR  )

Map a field.

◆ DEFINE_FIELD_MAPPER_OPERATOR()

DEFINE_FIELD_MAPPER_OPERATOR ( label  )

Map a label field.

◆ map()

Foam::tmp<Foam::Field<Type> > map ( const Field< Type > &  mapF) const

Definition at line 42 of file identityFieldMapperTemplates.C.


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