OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

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:
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.

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


Constructor & Destructor Documentation

cellMapper ( const mapPolyMesh &  mpm  ) 

Construct from mapPolyMesh.

Definition at line 222 of file cellMapper.C.

~cellMapper (  )  [virtual]

Definition at line 301 of file cellMapper.C.


Member Function Documentation

Foam::label size (  )  const [virtual]

Return size.

Implements FieldMapper.

Definition at line 309 of file cellMapper.C.

Foam::label sizeBeforeMapping (  )  const [virtual]

Return size before mapping.

Implements morphFieldMapper.

Definition at line 315 of file cellMapper.C.

References mapPolyMesh::cellMap().

Here is the call graph for this function:

virtual bool direct (  )  const [inline, virtual]

Is the mapping direct.

Implements FieldMapper.

Definition at line 124 of file cellMapper.H.

const Foam::unallocLabelList & directAddressing (  )  const [virtual]

Return direct addressing.

Reimplemented from FieldMapper.

Definition at line 321 of file cellMapper.C.

const Foam::labelListList & addressing (  )  const [virtual]

Return interpolated addressing.

Reimplemented from FieldMapper.

Definition at line 349 of file cellMapper.C.

const Foam::scalarListList & weights (  )  const [virtual]

Return interpolaion weights.

Reimplemented from FieldMapper.

Definition at line 369 of file cellMapper.C.

bool insertedObjects (  )  const [inline, virtual]

Are there any inserted cells.

Implements morphFieldMapper.

Definition at line 139 of file cellMapper.H.

const Foam::labelList & insertedObjectLabels (  )  const [virtual]

Return list of inserted cells.

Implements morphFieldMapper.

Definition at line 389 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
Copyright © 2000-2009 OpenCFD Ltd