FreeFOAM The Cross-Platform CFD Toolkit
pointPatchMapper Class Reference

Mapping class for a pointPatchField. More...

#include <OpenFOAM/pointPatchMapper.H>


Detailed Description

+ Inheritance diagram for pointPatchMapper:
+ Collaboration diagram for pointPatchMapper:

List of all members.

Public Member Functions

 pointPatchMapper (const pointPatch &patch, const pointMapper &pointMap, const mapPolyMesh &mpm)
 Construct from mappers.
virtual ~pointPatchMapper ()
virtual label size () const
 Return size.
virtual label sizeBeforeMapping () const
 Return size of field before mapping.
virtual bool direct () const
 Is the mapping direct.
virtual const unallocLabelListdirectAddressing () const
 Return direct addressing.
virtual const labelListListaddressing () const
 Return interpolated addressing.
virtual const scalarListListweights () const
 Return interpolaion weights.
- Public Member Functions inherited from pointPatchFieldMapper
 pointPatchFieldMapper ()
 Null constructor.
- 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

pointPatchMapper ( const pointPatch patch,
const pointMapper pointMap,
const mapPolyMesh mpm 
)

Construct from mappers.

Definition at line 111 of file pointPatchMapper.C.

~pointPatchMapper ( )
virtual

Definition at line 135 of file pointPatchMapper.C.


Member Function Documentation

virtual label size ( ) const
inlinevirtual

Return size.

Implements FieldMapper.

Definition at line 129 of file pointPatchMapper.H.

References pointPatch::size().

virtual label sizeBeforeMapping ( ) const
inlinevirtual

Return size of field before mapping.

Definition at line 135 of file pointPatchMapper.H.

virtual bool direct ( ) const
inlinevirtual

Is the mapping direct.

Implements FieldMapper.

Definition at line 141 of file pointPatchMapper.H.

References FieldMapper::direct().

const Foam::unallocLabelList & directAddressing ( ) const
virtual

Return direct addressing.

Reimplemented from FieldMapper.

Definition at line 143 of file pointPatchMapper.C.

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

const Foam::labelListList & addressing ( ) const
virtual

Return interpolated addressing.

Reimplemented from FieldMapper.

Definition at line 163 of file pointPatchMapper.C.

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

const Foam::scalarListList & weights ( ) const
virtual

Return interpolaion weights.

Reimplemented from FieldMapper.

Definition at line 183 of file pointPatchMapper.C.

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


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