FreeFOAM The Cross-Platform CFD Toolkit
pointMapper Class Reference

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>


Detailed Description

This object provides mapping and fill-in information for point data between the two meshes after the topological change. It is constructed from mapPolyMesh.

Source files

Definition at line 56 of file pointMapper.H.

+ Inheritance diagram for pointMapper:
+ Collaboration diagram for pointMapper:

List of all members.

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.
- Public Member Functions inherited from morphFieldMapper
 morphFieldMapper ()
 Null constructor.
virtual ~morphFieldMapper ()
- Public Member Functions inherited from FieldMapper
 FieldMapper ()
 Null constructor.
virtual ~FieldMapper ()
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &f) const

Constructor & Destructor Documentation

pointMapper ( const pointMesh &  pMesh,
const mapPolyMesh &  mpm 
)
~pointMapper ( )
virtual

Definition at line 216 of file pointMapper.C.


Member Function Documentation

Foam::label size ( ) const
virtual

Return size.

Implements FieldMapper.

Definition at line 224 of file pointMapper.C.

Foam::label sizeBeforeMapping ( ) const
virtual

Return size before mapping.

Implements morphFieldMapper.

Definition at line 230 of file pointMapper.C.

virtual bool direct ( ) const
inlinevirtual

Is the mapping direct.

Implements FieldMapper.

Definition at line 128 of file pointMapper.H.

const Foam::unallocLabelList & directAddressing ( ) const
virtual

Return direct addressing.

Reimplemented from FieldMapper.

Definition at line 236 of file pointMapper.C.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

const Foam::labelListList & addressing ( ) const
virtual

Return interpolated addressing.

Reimplemented from FieldMapper.

Definition at line 264 of file pointMapper.C.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

const Foam::scalarListList & weights ( ) const
virtual

Return interpolaion weights.

Reimplemented from FieldMapper.

Definition at line 284 of file pointMapper.C.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

bool insertedObjects ( ) const
inlinevirtual

Are there any inserted points.

Implements morphFieldMapper.

Definition at line 143 of file pointMapper.H.

const Foam::labelList & insertedObjectLabels ( ) const
virtual

Return list of inserted points.

Implements morphFieldMapper.

Definition at line 304 of file pointMapper.C.


The documentation for this class was generated from the following files: