directPointPatchFieldMapper Class Reference

direct PointPatchFieldMapper More...

Inheritance diagram for directPointPatchFieldMapper:
Collaboration diagram for directPointPatchFieldMapper:

Public Member Functions

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

direct pointPatchFieldMapper

Definition at line 45 of file directPointPatchFieldMapper.H.

Constructor & Destructor Documentation

◆ directPointPatchFieldMapper() [1/2]

directPointPatchFieldMapper ( const labelUList directAddressing)
inline

Construct given addressing.

Definition at line 62 of file directPointPatchFieldMapper.H.

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

Here is the call graph for this function:

◆ ~directPointPatchFieldMapper() [1/2]

virtual ~directPointPatchFieldMapper ( )
inlinevirtual

Destructor.

Definition at line 74 of file directPointPatchFieldMapper.H.

◆ directPointPatchFieldMapper() [2/2]

directPointPatchFieldMapper ( const labelUList addressing)
inline

Construct given addressing.

Definition at line 65 of file directPointPatchFieldMapper.H.

References Foam::min().

Here is the call graph for this function:

◆ ~directPointPatchFieldMapper() [2/2]

virtual ~directPointPatchFieldMapper ( )
inlinevirtual

Destructor.

Definition at line 78 of file directPointPatchFieldMapper.H.

Member Function Documentation

◆ size()

label size ( ) const
inline

Definition at line 80 of file directPointPatchFieldMapper.H.

References UList< T >::size().

Here is the call graph for this function:

◆ direct()

bool direct ( ) const
inlinevirtual

Implements generalFieldMapper.

Definition at line 85 of file directPointPatchFieldMapper.H.

◆ hasUnmapped() [1/2]

bool hasUnmapped ( ) const
inlinevirtual

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

get value

Implements directFieldMapper.

Definition at line 90 of file directPointPatchFieldMapper.H.

◆ directAddressing()

const labelUList& directAddressing ( ) const
inlinevirtual

Reimplemented from generalFieldMapper.

Definition at line 95 of file directPointPatchFieldMapper.H.

◆ hasUnmapped() [2/2]

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 directPointPatchFieldMapper.H.

◆ addressing()

const labelUList& addressing ( ) const
inlinevirtual

Access to the direct map addressing.

Implements directFieldMapper.

Definition at line 89 of file directPointPatchFieldMapper.H.


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