distributedWeightedFvPatchFieldMapper Class Reference

FieldMapper with weighted mapping from (optionally remote) quantities. More...

Inheritance diagram for distributedWeightedFvPatchFieldMapper:
Collaboration diagram for distributedWeightedFvPatchFieldMapper:

Public Member Functions

 distributedWeightedFvPatchFieldMapper (const label singlePatchProc, const mapDistributeBase *distMapPtr, const labelListList &addressing, const scalarListList &weights)
 Construct given addressing. More...
 
virtual ~distributedWeightedFvPatchFieldMapper ()
 Destructor. More...
 
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
 
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
 
template<class Type >
void operator() (Field< Type > &f, const tmp< Field< Type >> &tmapF) 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 >
tmp< Field< Type > > operator() (const tmp< Field< Type >> &tmapF) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > map (const Field< Type > &mapF) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > operator() (const tmp< Field< Type >> &tmapF) const
 
- 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
 

Detailed Description

FieldMapper with weighted mapping from (optionally remote) quantities.

Definition at line 46 of file distributedWeightedFvPatchFieldMapper.H.

Constructor & Destructor Documentation

◆ distributedWeightedFvPatchFieldMapper()

distributedWeightedFvPatchFieldMapper ( const label  singlePatchProc,
const mapDistributeBase *  distMapPtr,
const labelListList &  addressing,
const scalarListList &  weights 
)
inline

Construct given addressing.

Definition at line 90 of file distributedWeightedFvPatchFieldMapper.H.

References Foam::exit(), Foam::FatalError, FatalErrorIn, and forAll.

Here is the call graph for this function:

◆ ~distributedWeightedFvPatchFieldMapper()

virtual ~distributedWeightedFvPatchFieldMapper ( )
inlinevirtual

Destructor.

Definition at line 127 of file distributedWeightedFvPatchFieldMapper.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.

Definition at line 133 of file distributedWeightedFvPatchFieldMapper.H.

References distributedWeightedFvPatchFieldMapper::addressing(), f(), distributedWeightedFvPatchFieldMapper::operator()(), and distributedWeightedFvPatchFieldMapper::weights().

Here is the call graph for this function:

◆ addressing()

const Foam::labelListList & addressing ( ) const
virtual

Definition at line 31 of file distributedWeightedFvPatchFieldMapper.C.

Referenced by distributedWeightedFvPatchFieldMapper::hasUnmapped().

Here is the caller graph for this function:

◆ weights()

const Foam::scalarListList & weights ( ) const
virtual

Definition at line 38 of file distributedWeightedFvPatchFieldMapper.C.

Referenced by distributedWeightedFvPatchFieldMapper::hasUnmapped().

Here is the caller graph for this function:

◆ operator()() [1/13]

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

Implements fieldMapper.

Definition at line 97 of file distributedWeightedFvPatchFieldMapper.C.

Referenced by distributedWeightedFvPatchFieldMapper::hasUnmapped().

Here is the caller graph for this function:

◆ operator()() [2/13]

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

Implements fieldMapper.

Definition at line 107 of file distributedWeightedFvPatchFieldMapper.C.

◆ operator()() [3/13]

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

Implements fieldMapper.

Definition at line 117 of file distributedWeightedFvPatchFieldMapper.C.

◆ operator()() [4/13]

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

Implements fieldMapper.

Definition at line 127 of file distributedWeightedFvPatchFieldMapper.C.

◆ operator()() [5/13]

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

Implements fieldMapper.

Definition at line 137 of file distributedWeightedFvPatchFieldMapper.C.

◆ operator()() [6/13]

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

◆ operator()() [7/13]

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

Implements fieldMapper.

Definition at line 48 of file distributedWeightedFvPatchFieldMapper.C.

◆ operator()() [8/13]

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

Implements fieldMapper.

Definition at line 58 of file distributedWeightedFvPatchFieldMapper.C.

◆ operator()() [9/13]

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

Implements fieldMapper.

Definition at line 68 of file distributedWeightedFvPatchFieldMapper.C.

◆ operator()() [10/13]

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

Implements fieldMapper.

Definition at line 78 of file distributedWeightedFvPatchFieldMapper.C.

◆ operator()() [11/13]

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

Implements fieldMapper.

Definition at line 88 of file distributedWeightedFvPatchFieldMapper.C.

◆ operator()() [12/13]

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

◆ map()

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

Definition at line 64 of file distributedWeightedFvPatchFieldMapperTemplates.C.

References tmp< T >::ref(), and tf.

Here is the call graph for this function:

◆ operator()() [13/13]

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

Definition at line 89 of file distributedWeightedFvPatchFieldMapperTemplates.C.

References tf.


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