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. | |
![]() | |
morphFieldMapper () | |
Null constructor. | |
virtual | ~morphFieldMapper () |
![]() | |
FieldMapper () | |
Null constructor. | |
virtual | ~FieldMapper () |
template<class Type > | |
tmp< Field< Type > > | operator() (const Field< Type > &f) const |
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().
|
virtual |
Definition at line 309 of file cellMapper.C.
|
virtual |
|
virtual |
Return size before mapping.
Implements morphFieldMapper.
Definition at line 323 of file cellMapper.C.
|
inlinevirtual |
|
virtual |
Return direct addressing.
Reimplemented from FieldMapper.
Definition at line 329 of file cellMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
|
virtual |
Return interpolated addressing.
Reimplemented from FieldMapper.
Definition at line 357 of file cellMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
|
virtual |
Return interpolaion weights.
Reimplemented from FieldMapper.
Definition at line 377 of file cellMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
|
inlinevirtual |
Are there any inserted cells.
Implements morphFieldMapper.
Definition at line 144 of file cellMapper.H.
|
virtual |
Return list of inserted cells.
Implements morphFieldMapper.
Definition at line 397 of file cellMapper.C.