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 faMesh &mesh, const mapPolyMesh &mpm)
 Construct from components. More...
 
virtual ~faEdgeMapper ()
 Destructor. More...
 
virtual label size () const
 Return 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 faces. More...
 
virtual const labelListinsertedObjectLabels () const
 Return list of inserted faces. 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 55 of file faEdgeMapper.H.

Constructor & Destructor Documentation

◆ faEdgeMapper()

faEdgeMapper ( const faMesh mesh,
const mapPolyMesh mpm 
)

Construct from components.

Definition at line 53 of file faEdgeMapper.C.

◆ ~faEdgeMapper()

~faEdgeMapper ( )
virtual

Destructor.

Definition at line 68 of file faEdgeMapper.C.

Member Function Documentation

◆ size()

virtual label size ( ) const
inlinevirtual

Return size.

Implements FieldMapper.

Definition at line 134 of file faEdgeMapper.H.

References faMesh::nInternalEdges().

Here is the call graph for this function:

◆ sizeBeforeMapping()

virtual label sizeBeforeMapping ( ) const
inlinevirtual

Return size of field before mapping.

Implements morphFieldMapper.

Definition at line 142 of file faEdgeMapper.H.

◆ direct()

virtual bool direct ( ) const
inlinevirtual

Is the mapping direct.

Implements FieldMapper.

Definition at line 150 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 155 of file faEdgeMapper.H.

◆ directAddressing()

const Foam::labelUList & directAddressing ( ) const
virtual

Return direct addressing.

Reimplemented from FieldMapper.

Definition at line 76 of file faEdgeMapper.C.

◆ addressing()

const Foam::labelListList & addressing ( ) const
virtual

Return interpolated addressing.

Reimplemented from FieldMapper.

Definition at line 87 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 97 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 faces.

Implements morphFieldMapper.

Definition at line 178 of file faEdgeMapper.H.

◆ insertedObjectLabels()

virtual const labelList& insertedObjectLabels ( ) const
inlinevirtual

Return list of inserted faces.

Implements morphFieldMapper.

Definition at line 186 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: