This object provides mapping and fill-in information for point data between the two meshes after the topological change. It is constructed from mapPolyMesh. More...
#include <OpenFOAM/pointMapper.H>
This object provides mapping and fill-in information for point data between the two meshes after the topological change. It is constructed from mapPolyMesh.
Definition at line 56 of file pointMapper.H.
Public Member Functions | |
pointMapper (const pointMesh &, const mapPolyMesh &mpm) | |
Construct from mapPolyMesh. | |
virtual | ~pointMapper () |
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 points. | |
const labelList & | insertedObjectLabels () const |
Return list of inserted points. | |
![]() | |
morphFieldMapper () | |
Null constructor. | |
virtual | ~morphFieldMapper () |
![]() | |
FieldMapper () | |
Null constructor. | |
virtual | ~FieldMapper () |
template<class Type > | |
tmp< Field< Type > > | operator() (const Field< Type > &f) const |
pointMapper | ( | const pointMesh & | pMesh, |
const mapPolyMesh & | mpm | ||
) |
Construct from mapPolyMesh.
Definition at line 165 of file pointMapper.C.
References UList< T >::empty(), forAll, Foam::min(), mapPolyMesh::pointMap(), mapPolyMesh::pointsFromPointsMap(), and pointMesh::size().
|
virtual |
Definition at line 216 of file pointMapper.C.
|
virtual |
|
virtual |
Return size before mapping.
Implements morphFieldMapper.
Definition at line 230 of file pointMapper.C.
|
inlinevirtual |
|
virtual |
Return direct addressing.
Reimplemented from FieldMapper.
Definition at line 236 of file pointMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
|
virtual |
Return interpolated addressing.
Reimplemented from FieldMapper.
Definition at line 264 of file pointMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
|
virtual |
Return interpolaion weights.
Reimplemented from FieldMapper.
Definition at line 284 of file pointMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
|
inlinevirtual |
Are there any inserted points.
Implements morphFieldMapper.
Definition at line 143 of file pointMapper.H.
|
virtual |
Return list of inserted points.
Implements morphFieldMapper.
Definition at line 304 of file pointMapper.C.