Public Member Functions | List of all members
faPatchMapper Class Reference

Mapping class for a faPatchField. Edge mapping is calculated based on faceCells comparison of old and new patch. More...

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

Public Member Functions

 faPatchMapper (const faPatch &patch, const mapPolyMesh &mpm)
 
virtual ~faPatchMapper ()
 
virtual label size () const
 
virtual label sizeBeforeMapping () const
 
virtual bool direct () const
 
virtual bool hasUnmapped () const
 
virtual const labelUListdirectAddressing () const
 
virtual const labelListListaddressing () const
 
virtual const scalarListListweights () const
 
- Public Member Functions inherited from faPatchFieldMapper
 faPatchFieldMapper ()
 
- Public Member Functions inherited from FieldMapper
 FieldMapper ()
 
virtual ~FieldMapper ()=default
 
virtual bool distributed () const
 
virtual const mapDistributeBasedistributeMap () const
 
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &f) const
 

Detailed Description

Mapping class for a faPatchField. Edge mapping is calculated based on faceCells comparison of old and new patch.

Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.

Source files

Definition at line 58 of file faPatchMapper.H.

Constructor & Destructor Documentation

◆ faPatchMapper()

faPatchMapper ( const faPatch patch,
const mapPolyMesh mpm 
)

Definition at line 94 of file faPatchMapper.C.

◆ ~faPatchMapper()

~faPatchMapper ( )
virtual

Definition at line 110 of file faPatchMapper.C.

Member Function Documentation

◆ size()

virtual label size ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 118 of file faPatchMapper.H.

References faPatch::size().

Here is the call graph for this function:

◆ sizeBeforeMapping()

virtual label sizeBeforeMapping ( ) const
inlinevirtual

Definition at line 124 of file faPatchMapper.H.

◆ direct()

virtual bool direct ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 130 of file faPatchMapper.H.

◆ hasUnmapped()

virtual bool hasUnmapped ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 135 of file faPatchMapper.H.

◆ directAddressing()

const Foam::labelUList & directAddressing ( ) const
virtual

Reimplemented from FieldMapper.

Definition at line 118 of file faPatchMapper.C.

◆ addressing()

const Foam::labelListList & addressing ( ) const
virtual

Reimplemented from FieldMapper.

Definition at line 129 of file faPatchMapper.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and List::null().

Here is the call graph for this function:

◆ weights()

const Foam::scalarListList & weights ( ) const
virtual

Reimplemented from FieldMapper.

Definition at line 139 of file faPatchMapper.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and List::null().

Here is the call graph for this function:

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