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:
[legend]
Collaboration diagram for faEdgeMapper:
[legend]

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
 Are there unmapped values? I.e. do all size() elements get. 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 ()
 Null constructor. More...
 
virtual ~morphFieldMapper ()=default
 Destructor. More...
 
- Public Member Functions inherited from FieldMapper
 FieldMapper ()
 Null constructor. More...
 
virtual ~FieldMapper ()=default
 Destructor. More...
 
virtual bool distributed () const
 
virtual const mapDistributeBasedistributeMap () const
 
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &f) const
 

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 59 of file faEdgeMapper.H.

Constructor & Destructor Documentation

◆ faEdgeMapper()

faEdgeMapper ( const faMesh mesh,
const mapPolyMesh mpm 
)

Construct from components.

Definition at line 60 of file faEdgeMapper.C.

◆ ~faEdgeMapper()

~faEdgeMapper ( )
virtual

Destructor.

Definition at line 75 of file faEdgeMapper.C.

Member Function Documentation

◆ size()

virtual label size ( ) const
inlinevirtual

Return size.

Implements FieldMapper.

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

◆ direct()

virtual bool direct ( ) const
inlinevirtual

Is the mapping direct.

Implements FieldMapper.

Definition at line 127 of file faEdgeMapper.H.

◆ hasUnmapped()

virtual bool hasUnmapped ( ) const
inlinevirtual

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

get value

Implements FieldMapper.

Definition at line 132 of file faEdgeMapper.H.

◆ directAddressing()

const Foam::labelUList & directAddressing ( ) const
virtual

Return direct addressing.

Reimplemented from FieldMapper.

Definition at line 83 of file faEdgeMapper.C.

◆ addressing()

const Foam::labelListList & addressing ( ) const
virtual

Return interpolated addressing.

Reimplemented from FieldMapper.

Definition at line 94 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 104 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 147 of file faEdgeMapper.H.

◆ insertedObjectLabels()

virtual const labelList& insertedObjectLabels ( ) const
inlinevirtual

Return list of inserted faces.

Implements morphFieldMapper.

Definition at line 153 of file faEdgeMapper.H.

References List< T >::null().

Here is the call graph for this function:

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