faEdgeMapper Class Reference

FA edge mapper. Currently, edge-based finite area data is not mapped, but only resized, since edge-based mapping data is not available. More...

Inheritance diagram for faEdgeMapper:
Collaboration diagram for faEdgeMapper:

Public Member Functions

 faEdgeMapper (const faEdgeMapper &)=delete
 No copy construct. More...
 
void operator= (const faEdgeMapper &)=delete
 No copy assignment. More...
 
 faEdgeMapper (const faMesh &mesh, const mapPolyMesh &mpm)
 Construct from components. More...
 
virtual ~faEdgeMapper ()
 Destructor. More...
 
virtual label size () const
 Return mapper size. More...
 
virtual label sizeBeforeMapping () const
 Return size of field before mapping. More...
 
virtual bool direct () const
 Is the mapping direct. More...
 
virtual bool hasUnmapped () const
 Any unmapped values? More...
 
virtual const labelUListdirectAddressing () const
 Return direct addressing. More...
 
virtual const labelListListaddressing () const
 Return interpolated addressing. More...
 
virtual const scalarListListweights () const
 Return interpolation weights. More...
 
virtual bool insertedObjects () const
 Are there any inserted edges. More...
 
virtual const labelListinsertedObjectLabels () const
 Return list of inserted edges. More...
 
- Public Member Functions inherited from morphFieldMapper
 morphFieldMapper ()=default
 Default construct. More...
 
virtual ~morphFieldMapper ()=default
 Destructor. More...
 
- Public Member Functions inherited from FieldMapper
 FieldMapper ()=default
 Default construct. More...
 
virtual ~FieldMapper ()=default
 Destructor. More...
 
virtual bool distributed () const
 Does the mapper have remote contributions? More...
 
virtual const mapDistributeBasedistributeMap () const
 Return the distribution map. More...
 
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &fld) const
 Perform mapping on the given field. More...
 

Detailed Description

FA edge mapper. Currently, edge-based finite area data is not mapped, but only resized, since edge-based mapping data is not available.

Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.

Source files

Definition at line 54 of file faEdgeMapper.H.

Constructor & Destructor Documentation

◆ faEdgeMapper() [1/2]

faEdgeMapper ( const faEdgeMapper )
delete

No copy construct.

◆ faEdgeMapper() [2/2]

faEdgeMapper ( const faMesh mesh,
const mapPolyMesh mpm 
)

Construct from components.

Definition at line 52 of file faEdgeMapper.C.

◆ ~faEdgeMapper()

~faEdgeMapper ( )
virtual

Destructor.

Definition at line 67 of file faEdgeMapper.C.

Member Function Documentation

◆ operator=()

void operator= ( const faEdgeMapper )
delete

No copy assignment.

◆ size()

Foam::label size ( ) const
virtual

Return mapper size.

Implements FieldMapper.

Definition at line 73 of file faEdgeMapper.C.

◆ sizeBeforeMapping()

virtual label sizeBeforeMapping ( ) const
inlinevirtual

Return size of field before mapping.

Implements morphFieldMapper.

Definition at line 143 of file faEdgeMapper.H.

◆ direct()

virtual bool direct ( ) const
inlinevirtual

Is the mapping direct.

Implements FieldMapper.

Definition at line 151 of file faEdgeMapper.H.

◆ hasUnmapped()

virtual bool hasUnmapped ( ) const
inlinevirtual

Any unmapped values?

I.e. do all size() elements get value

Implements FieldMapper.

Definition at line 156 of file faEdgeMapper.H.

◆ directAddressing()

const Foam::labelUList & directAddressing ( ) const
virtual

Return direct addressing.

Reimplemented from FieldMapper.

Definition at line 79 of file faEdgeMapper.C.

◆ addressing()

const Foam::labelListList & addressing ( ) const
virtual

Return interpolated addressing.

Reimplemented from FieldMapper.

Definition at line 90 of file faEdgeMapper.C.

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

Here is the call graph for this function:

◆ weights()

const Foam::scalarListList & weights ( ) const
virtual

Return interpolation weights.

Reimplemented from FieldMapper.

Definition at line 100 of file faEdgeMapper.C.

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

Here is the call graph for this function:

◆ insertedObjects()

virtual bool insertedObjects ( ) const
inlinevirtual

Are there any inserted edges.

Implements morphFieldMapper.

Definition at line 179 of file faEdgeMapper.H.

◆ insertedObjectLabels()

virtual const labelList& insertedObjectLabels ( ) const
inlinevirtual

Return list of inserted edges.

Implements morphFieldMapper.

Definition at line 187 of file faEdgeMapper.H.

References List< label >::null().

Here is the call graph for this function:

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