Public Member Functions | Private Attributes
distributedWeightedFvPatchFieldMapper Class Reference

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

Inheritance diagram for distributedWeightedFvPatchFieldMapper:
Inheritance graph
[legend]
Collaboration diagram for distributedWeightedFvPatchFieldMapper:
Collaboration graph
[legend]

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 label size () const
 
virtual bool direct () const
 
virtual bool distributed () const
 
virtual const mapDistributeBasedistributeMap () const
 
virtual bool hasUnmapped () const
 Are there unmapped values? I.e. do all size() elements get. More...
 
virtual const labelListListaddressing () const
 
virtual const scalarListListweights () 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...
 
virtual const labelUListdirectAddressing () const
 
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &f) const
 

Private Attributes

const label singlePatchProc_
 
const mapDistributeBasedistMapPtr_
 
const labelListListaddressing_
 
const scalarListListweights_
 
bool hasUnmapped_
 

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

◆ ~distributedWeightedFvPatchFieldMapper()

virtual ~distributedWeightedFvPatchFieldMapper ( )
inlinevirtual

Destructor.

Definition at line 99 of file distributedWeightedFvPatchFieldMapper.H.

Member Function Documentation

◆ size()

virtual label size ( ) const
inlinevirtual

◆ direct()

virtual bool direct ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 117 of file distributedWeightedFvPatchFieldMapper.H.

◆ distributed()

virtual bool distributed ( ) const
inlinevirtual

Reimplemented from FieldMapper.

Definition at line 122 of file distributedWeightedFvPatchFieldMapper.H.

References distributedWeightedFvPatchFieldMapper::singlePatchProc_.

Referenced by distributedWeightedFvPatchFieldMapper::size().

Here is the caller graph for this function:

◆ distributeMap()

virtual const mapDistributeBase& distributeMap ( ) const
inlinevirtual

Reimplemented from FieldMapper.

Definition at line 127 of file distributedWeightedFvPatchFieldMapper.H.

References distributedWeightedFvPatchFieldMapper::distMapPtr_, Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Referenced by distributedWeightedFvPatchFieldMapper::size().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasUnmapped()

virtual bool hasUnmapped ( ) const
inlinevirtual

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

get value

Implements FieldMapper.

Definition at line 138 of file distributedWeightedFvPatchFieldMapper.H.

References distributedWeightedFvPatchFieldMapper::hasUnmapped_.

◆ addressing()

virtual const labelListList& addressing ( ) const
inlinevirtual

Reimplemented from FieldMapper.

Definition at line 143 of file distributedWeightedFvPatchFieldMapper.H.

References distributedWeightedFvPatchFieldMapper::addressing_.

Referenced by distributedWeightedFvPatchFieldMapper::size().

Here is the caller graph for this function:

◆ weights()

virtual const scalarListList& weights ( ) const
inlinevirtual

Field Documentation

◆ singlePatchProc_

const label singlePatchProc_
private

◆ distMapPtr_

const mapDistributeBase* distMapPtr_
private

◆ addressing_

const labelListList& addressing_
private

◆ weights_

const scalarListList& weights_
private

◆ hasUnmapped_

bool hasUnmapped_
private

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