directFvPatchFieldMapper Class Reference

direct fvPatchFieldMapper More...

Inheritance diagram for directFvPatchFieldMapper:
Collaboration diagram for directFvPatchFieldMapper:

Public Member Functions

 directFvPatchFieldMapper (const labelUList &addressing)
 Construct given addressing. More...
 
virtual ~directFvPatchFieldMapper ()
 Destructor. More...
 
virtual bool hasUnmapped () const
 Are there unmapped values? I.e. do all size() elements get. More...
 
virtual const labelUListaddressing () const
 Access to the direct map addressing. More...
 
- Public Member Functions inherited from fvPatchFieldMapper
 fvPatchFieldMapper ()
 Null constructor. More...
 
- 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
 
- Public Member Functions inherited from directFieldMapper
 directFieldMapper ()
 Null constructor. More...
 
virtual ~directFieldMapper ()
 Destructor. 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
 

Detailed Description

direct fvPatchFieldMapper

Definition at line 46 of file directFvPatchFieldMapper.H.

Constructor & Destructor Documentation

◆ directFvPatchFieldMapper()

directFvPatchFieldMapper ( const labelUList addressing)
inline

Construct given addressing.

Definition at line 65 of file directFvPatchFieldMapper.H.

References Foam::min(), and UList< T >::size().

Here is the call graph for this function:

◆ ~directFvPatchFieldMapper()

virtual ~directFvPatchFieldMapper ( )
inlinevirtual

Destructor.

Definition at line 78 of file directFvPatchFieldMapper.H.

Member Function Documentation

◆ hasUnmapped()

virtual bool hasUnmapped ( ) const
inlinevirtual

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

get value

Implements directFieldMapper.

Definition at line 84 of file directFvPatchFieldMapper.H.

◆ addressing()

virtual const labelUList& addressing ( ) const
inlinevirtual

Access to the direct map addressing.

Implements directFieldMapper.

Definition at line 89 of file directFvPatchFieldMapper.H.


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