Public Member Functions | Private Attributes
singleCellFvMesh::agglomPatchFieldMapper Class Reference

Patch field mapper class for agglomerated meshes. More...

Inheritance diagram for singleCellFvMesh::agglomPatchFieldMapper:
Inheritance graph
[legend]
Collaboration diagram for singleCellFvMesh::agglomPatchFieldMapper:
Collaboration graph
[legend]

Public Member Functions

 agglomPatchFieldMapper (const labelListList &addressing, const scalarListList &weights)
 Construct given addressing. More...
 
virtual label size () const
 
virtual bool direct () const
 
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 bool distributed () const
 
virtual const mapDistributeBasedistributeMap () const
 
virtual const labelUListdirectAddressing () const
 
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &f) const
 

Private Attributes

const labelListListaddressing_
 
const scalarListListweights_
 
bool hasUnmapped_
 

Detailed Description

Patch field mapper class for agglomerated meshes.

Definition at line 90 of file singleCellFvMesh.H.

Constructor & Destructor Documentation

◆ agglomPatchFieldMapper()

agglomPatchFieldMapper ( const labelListList addressing,
const scalarListList weights 
)
inline

Construct given addressing.

Definition at line 104 of file singleCellFvMesh.H.

References singleCellFvMesh::agglomPatchFieldMapper::addressing_, HashTable< regIOobject * >::empty(), forAll, and singleCellFvMesh::agglomPatchFieldMapper::hasUnmapped_.

Here is the call graph for this function:

Member Function Documentation

◆ size()

virtual label size ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 123 of file singleCellFvMesh.H.

References singleCellFvMesh::agglomPatchFieldMapper::addressing_, and List::size().

Here is the call graph for this function:

◆ direct()

virtual bool direct ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 128 of file singleCellFvMesh.H.

◆ hasUnmapped()

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 singleCellFvMesh.H.

References singleCellFvMesh::agglomPatchFieldMapper::hasUnmapped_.

◆ addressing()

virtual const labelListList& addressing ( ) const
inlinevirtual

Reimplemented from FieldMapper.

Definition at line 138 of file singleCellFvMesh.H.

References singleCellFvMesh::agglomPatchFieldMapper::addressing_.

◆ weights()

virtual const scalarListList& weights ( ) const
inlinevirtual

Reimplemented from FieldMapper.

Definition at line 143 of file singleCellFvMesh.H.

References singleCellFvMesh::agglomPatchFieldMapper::weights_.

Field Documentation

◆ 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: