weightedFvPatchFieldMapper Class Reference

FieldMapper with weighted mapping. More...

Inheritance diagram for weightedFvPatchFieldMapper:
Collaboration diagram for weightedFvPatchFieldMapper:

Public Member Functions

 weightedFvPatchFieldMapper (const labelListList &addressing, const scalarListList &weights)
 Construct given addressing. More...
 
virtual ~weightedFvPatchFieldMapper ()
 Destructor. More...
 
virtual bool direct () const
 
virtual bool hasUnmapped () const
 Are there unmapped values? I.e. do all size() elements get. More...
 
virtual const labelListList & addressing () const
 
virtual const scalarListList & weights () const
 
- Public Member Functions inherited from generalFvPatchFieldMapper
 generalFvPatchFieldMapper ()
 Null constructor. 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...
 
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
 
- Public Member Functions inherited from generalFieldMapper
 generalFieldMapper ()
 Null constructor. More...
 
virtual ~generalFieldMapper ()
 Destructor. More...
 
virtual const labelUList & directAddressing () const
 
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 > > map (const Field< Type > &mapF) const
 

Detailed Description

FieldMapper with weighted mapping.

Definition at line 45 of file weightedFvPatchFieldMapper.H.

Constructor & Destructor Documentation

◆ weightedFvPatchFieldMapper()

weightedFvPatchFieldMapper ( const labelListList &  addressing,
const scalarListList &  weights 
)
inline

Construct given addressing.

Definition at line 64 of file weightedFvPatchFieldMapper.H.

References forAll.

◆ ~weightedFvPatchFieldMapper()

virtual ~weightedFvPatchFieldMapper ( )
inlinevirtual

Destructor.

Definition at line 84 of file weightedFvPatchFieldMapper.H.

Member Function Documentation

◆ direct()

virtual bool direct ( ) const
inlinevirtual

Implements generalFieldMapper.

Definition at line 90 of file weightedFvPatchFieldMapper.H.

◆ hasUnmapped()

virtual bool hasUnmapped ( ) const
inlinevirtual

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

get value

Implements generalFieldMapper.

Definition at line 95 of file weightedFvPatchFieldMapper.H.

◆ addressing()

virtual const labelListList& addressing ( ) const
inlinevirtual

Reimplemented from generalFieldMapper.

Definition at line 100 of file weightedFvPatchFieldMapper.H.

◆ weights()

virtual const scalarListList& weights ( ) const
inlinevirtual

Reimplemented from generalFieldMapper.

Definition at line 105 of file weightedFvPatchFieldMapper.H.


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