FreeFOAM The Cross-Platform CFD Toolkit
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...

#include <OpenFOAM/cellMapper.H>


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 55 of file cellMapper.H.

+ Inheritance diagram for cellMapper:
+ Collaboration diagram for cellMapper:

List of all members.

Public Member Functions

 cellMapper (const mapPolyMesh &mpm)
 Construct from mapPolyMesh.
virtual ~cellMapper ()
virtual label size () const
 Return size.
virtual label sizeBeforeMapping () const
 Return size before mapping.
virtual bool direct () const
 Is the mapping direct.
virtual const unallocLabelListdirectAddressing () const
 Return direct addressing.
virtual const labelListListaddressing () const
 Return interpolated addressing.
virtual const scalarListListweights () const
 Return interpolaion weights.
bool insertedObjects () const
 Are there any inserted cells.
const labelListinsertedObjectLabels () const
 Return list of inserted cells.
- Public Member Functions inherited from morphFieldMapper
 morphFieldMapper ()
 Null constructor.
virtual ~morphFieldMapper ()
- Public Member Functions inherited from FieldMapper
 FieldMapper ()
 Null constructor.
virtual ~FieldMapper ()
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &f) const

Constructor & Destructor Documentation

~cellMapper ( )
virtual

Definition at line 309 of file cellMapper.C.


Member Function Documentation

Foam::label size ( ) const
virtual

Return size.

Implements FieldMapper.

Definition at line 317 of file cellMapper.C.

Foam::label sizeBeforeMapping ( ) const
virtual

Return size before mapping.

Implements morphFieldMapper.

Definition at line 323 of file cellMapper.C.

virtual bool direct ( ) const
inlinevirtual

Is the mapping direct.

Implements FieldMapper.

Definition at line 129 of file cellMapper.H.

const Foam::unallocLabelList & directAddressing ( ) const
virtual

Return direct addressing.

Reimplemented from FieldMapper.

Definition at line 329 of file cellMapper.C.

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

const Foam::labelListList & addressing ( ) const
virtual

Return interpolated addressing.

Reimplemented from FieldMapper.

Definition at line 357 of file cellMapper.C.

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

const Foam::scalarListList & weights ( ) const
virtual

Return interpolaion weights.

Reimplemented from FieldMapper.

Definition at line 377 of file cellMapper.C.

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

bool insertedObjects ( ) const
inlinevirtual

Are there any inserted cells.

Implements morphFieldMapper.

Definition at line 144 of file cellMapper.H.

const Foam::labelList & insertedObjectLabels ( ) const
virtual

Return list of inserted cells.

Implements morphFieldMapper.

Definition at line 397 of file cellMapper.C.


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