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>
This object provides mapping and fill-in information for cell data between the two meshes after the topological change. It is constructed from mapPolyMesh.
Definition at line 55 of file cellMapper.H.
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.
|
cellMapper | ( | const mapPolyMesh & | mpm ) |
Construct from mapPolyMesh.
Definition at line 230 of file cellMapper.C.
References mapPolyMesh::cellMap(), mapPolyMesh::cellsFromCellsMap(), mapPolyMesh::cellsFromEdgesMap(), mapPolyMesh::cellsFromFacesMap(), mapPolyMesh::cellsFromPointsMap(), UList< T >::empty(), forAll, Foam::min(), and primitiveMesh::nCells().
~cellMapper | ( | ) | [virtual]
|
Definition at line 309 of file cellMapper.C.
Foam::label size | ( | ) | const [virtual]
|
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]
|
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.