FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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 unallocLabelList &  directAddressing () const
 Return direct addressing.
virtual const labelListList &  addressing () const
 Return interpolated addressing.
virtual const scalarListList &  weights () const
 Return interpolaion weights.
bool  insertedObjects () const
 Are there any inserted cells.
const labelList &  insertedObjectLabels () const
 Return list of inserted cells.

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 [inline, virtual]

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 [inline, virtual]

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:
  • src/OpenFOAM/meshes/polyMesh/mapPolyMesh/cellMapper/cellMapper.H
  • src/OpenFOAM/meshes/polyMesh/mapPolyMesh/cellMapper/cellMapper.C