pointFieldDecomposer::patchFieldDecomposer Class Reference

Point patch field decomposer class. More...

Inheritance diagram for pointFieldDecomposer::patchFieldDecomposer:
[legend]
Collaboration diagram for pointFieldDecomposer::patchFieldDecomposer:
[legend]

Public Member Functions

 patchFieldDecomposer (const pointPatch &completeMeshPatch, const pointPatch &procMeshPatch, const labelList &directAddr)
 Construct given addressing. 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
 
- Public Member Functions inherited from pointPatchFieldMapperPatchRef
 pointPatchFieldMapperPatchRef (const pointPatch &source, const pointPatch &target)
 Construct from components. More...
 
const pointPatchsourcePatch () const
 
const pointPatchtargetPatch () const
 
- Public Member Functions inherited from pointPatchFieldMapper
 pointPatchFieldMapper ()
 Null constructor. More...
 
- Public Member Functions inherited from FieldMapper
 FieldMapper ()
 Null constructor. More...
 
virtual ~FieldMapper ()=default
 Destructor. More...
 
virtual bool distributed () const
 
virtual const mapDistributeBasedistributeMap () const
 
virtual const labelListListaddressing () const
 
virtual const scalarListListweights () const
 
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &f) const
 

Detailed Description

Point patch field decomposer class.

Definition at line 59 of file pointFieldDecomposer.H.

Constructor & Destructor Documentation

◆ patchFieldDecomposer()

patchFieldDecomposer ( const pointPatch completeMeshPatch,
const pointPatch procMeshPatch,
const labelList directAddr 
)

Construct given addressing.

Definition at line 34 of file pointFieldDecomposer.C.

References Foam::abort(), pointPatch::boundaryMesh(), Foam::FatalError, FatalErrorInFunction, forAll, pointBoundaryMesh::mesh(), pointPatch::meshPoints(), Foam::min(), and pointMesh::size().

Here is the call graph for this function:

Member Function Documentation

◆ size()

label size ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 85 of file pointFieldDecomposer.H.

◆ direct()

bool direct ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 90 of file pointFieldDecomposer.H.

◆ hasUnmapped()

bool hasUnmapped ( ) const
inlinevirtual

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

get value

Implements FieldMapper.

Definition at line 95 of file pointFieldDecomposer.H.

◆ directAddressing()

const labelUList& directAddressing ( ) const
inlinevirtual

Reimplemented from FieldMapper.

Definition at line 100 of file pointFieldDecomposer.H.


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