Public Member Functions | List of all members
cellMapper Class Reference

This object provides mapping and fill-in information for cell data between the two meshes after the topological change. It is constructed from mapPolyMesh. More...

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

Public Member Functions

 cellMapper (const mapPolyMesh &mpm)
 
virtual ~cellMapper ()
 
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
 
virtual bool insertedObjects () const
 
const virtual labelListinsertedObjectLabels () const
 
- Public Member Functions inherited from morphFieldMapper
 morphFieldMapper ()
 
virtual ~morphFieldMapper ()=default
 
- 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

This object provides mapping and fill-in information for cell data between the two meshes after the topological change. It is constructed from mapPolyMesh.

Source files

Definition at line 52 of file cellMapper.H.

Constructor & Destructor Documentation

◆ cellMapper()

cellMapper ( const mapPolyMesh mpm)

◆ ~cellMapper()

~cellMapper ( )
virtual

Definition at line 363 of file cellMapper.C.

Member Function Documentation

◆ size()

Foam::label size ( ) const
virtual

Implements FieldMapper.

Definition at line 371 of file cellMapper.C.

◆ sizeBeforeMapping()

Foam::label sizeBeforeMapping ( ) const
virtual

Implements morphFieldMapper.

Definition at line 377 of file cellMapper.C.

◆ direct()

virtual bool direct ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 125 of file cellMapper.H.

◆ hasUnmapped()

virtual bool hasUnmapped ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 130 of file cellMapper.H.

References cellMapper::insertedObjects().

Here is the call graph for this function:

◆ directAddressing()

const Foam::labelUList & directAddressing ( ) const
virtual

Reimplemented from FieldMapper.

Definition at line 383 of file cellMapper.C.

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

Here is the call graph for this function:

◆ addressing()

const Foam::labelListList & addressing ( ) const
virtual

Reimplemented from FieldMapper.

Definition at line 409 of file cellMapper.C.

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

Here is the call graph for this function:

◆ weights()

const Foam::scalarListList & weights ( ) const
virtual

Reimplemented from FieldMapper.

Definition at line 427 of file cellMapper.C.

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

Here is the call graph for this function:

◆ insertedObjects()

virtual bool insertedObjects ( ) const
inlinevirtual

Implements morphFieldMapper.

Definition at line 145 of file cellMapper.H.

Referenced by cellMapper::hasUnmapped().

Here is the caller graph for this function:

◆ insertedObjectLabels()

const Foam::labelList & insertedObjectLabels ( ) const
virtual

Implements morphFieldMapper.

Definition at line 445 of file cellMapper.C.


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