fvFieldDecomposer::processorVolPatchFieldDecomposer Class Reference

Processor patch field decomposer class. Maps either owner or. More...

Inheritance diagram for fvFieldDecomposer::processorVolPatchFieldDecomposer:
[legend]
Collaboration diagram for fvFieldDecomposer::processorVolPatchFieldDecomposer:
[legend]

Public Member Functions

 processorVolPatchFieldDecomposer (const labelUList &faceOwner, const labelUList &faceNeigbour, const labelUList &addressingSlice)
 Construct addressing from details. More...
 
 processorVolPatchFieldDecomposer (const polyMesh &mesh, const labelUList &addressingSlice)
 Construct given addressing from complete mesh. More...
 
label size () const
 The size of the mapper. More...
 
bool direct () const
 Is it a direct (non-interpolating) mapper? More...
 
bool hasUnmapped () const
 Are there unmapped values. More...
 
const labelUListdirectAddressing () const
 Return the direct addressing values. More...
 
- Public Member Functions inherited from fvPatchFieldMapper
 fvPatchFieldMapper ()=default
 Default construct. More...
 
- Public Member Functions inherited from FieldMapper
 FieldMapper ()=default
 Default construct. More...
 
virtual ~FieldMapper ()=default
 Destructor. More...
 
virtual label size () const =0
 The size of the mapper. More...
 
virtual bool direct () const =0
 Is it a direct (non-interpolating) mapper? More...
 
virtual bool distributed () const
 Does the mapper have remote contributions? More...
 
virtual bool hasUnmapped () const =0
 Any unmapped values? More...
 
virtual const labelUListdirectAddressing () const
 Return the direct addressing values. More...
 
virtual const mapDistributeBasedistributeMap () const
 Return the distribution map. More...
 
virtual const labelListListaddressing () const
 Return the interpolation addressing. More...
 
virtual const scalarListListweights () const
 Return the interpolation weights. More...
 
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &fld) const
 Perform mapping on the given field. More...
 

Detailed Description

Processor patch field decomposer class. Maps either owner or.

neighbour data (no interpolate anymore - processorFvPatchField holds neighbour data)

Definition at line 113 of file fvFieldDecomposer.H.

Constructor & Destructor Documentation

◆ processorVolPatchFieldDecomposer() [1/2]

processorVolPatchFieldDecomposer ( const labelUList faceOwner,
const labelUList faceNeigbour,
const labelUList addressingSlice 
)

Construct addressing from details.

Definition at line 54 of file fvFieldDecomposer.C.

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

Here is the call graph for this function:

◆ processorVolPatchFieldDecomposer() [2/2]

processorVolPatchFieldDecomposer ( const polyMesh mesh,
const labelUList addressingSlice 
)

Construct given addressing from complete mesh.

Definition at line 100 of file fvFieldDecomposer.C.

Member Function Documentation

◆ size()

label size ( ) const
inlinevirtual

The size of the mapper.

Implements FieldMapper.

Definition at line 141 of file fvFieldDecomposer.H.

References UList< T >::size().

Here is the call graph for this function:

◆ direct()

bool direct ( ) const
inlinevirtual

Is it a direct (non-interpolating) mapper?

Implements FieldMapper.

Definition at line 146 of file fvFieldDecomposer.H.

◆ hasUnmapped()

bool hasUnmapped ( ) const
inlinevirtual

Are there unmapped values.

Implements FieldMapper.

Definition at line 152 of file fvFieldDecomposer.H.

◆ directAddressing()

const labelUList & directAddressing ( ) const
inlinevirtual

Return the direct addressing values.

Reimplemented from FieldMapper.

Definition at line 157 of file fvFieldDecomposer.H.


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