FreeFOAM The Cross-Platform CFD Toolkit
faceMapper Class Reference

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

#include <OpenFOAM/faceMapper.H>


Detailed Description

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

Source files

Definition at line 56 of file faceMapper.H.

+ Inheritance diagram for faceMapper:
+ Collaboration diagram for faceMapper:

List of all members.

Public Member Functions

 faceMapper (const mapPolyMesh &mpm)
 Construct from mapPolyMesh.
virtual ~faceMapper ()
virtual label size () const
 Return size.
virtual label sizeBeforeMapping () const
 Return size of field before mapping.
virtual label internalSizeBeforeMapping () const
 Return number of internal faces 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.
virtual const labelHashSetflipFaceFlux () const
 Return flux flip map.
virtual label nOldInternalFaces () const
 Return number of old internalFaces.
virtual const labelListoldPatchStarts () const
 Return old patch starts.
virtual const labelListoldPatchSizes () const
 Return old patch sizes.
virtual bool insertedObjects () const
 Are there any inserted faces.
virtual const labelListinsertedObjectLabels () const
 Return list of inserted faces.
- 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

~faceMapper ( )
virtual

Definition at line 279 of file faceMapper.C.


Member Function Documentation

Foam::label size ( ) const
virtual

Return size.

Implements FieldMapper.

Definition at line 287 of file faceMapper.C.

Foam::label sizeBeforeMapping ( ) const
virtual

Return size of field before mapping.

Implements morphFieldMapper.

Definition at line 293 of file faceMapper.C.

Foam::label internalSizeBeforeMapping ( ) const
virtual

Return number of internal faces before mapping.

Definition at line 299 of file faceMapper.C.

Referenced by fvSurfaceMapper::sizeBeforeMapping().

virtual bool direct ( ) const
inlinevirtual

Is the mapping direct.

Implements FieldMapper.

Definition at line 133 of file faceMapper.H.

Referenced by fvSurfaceMapper::direct(), and fvPatchMapper::direct().

const Foam::unallocLabelList & directAddressing ( ) const
virtual

Return direct addressing.

Reimplemented from FieldMapper.

Definition at line 305 of file faceMapper.C.

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

const Foam::labelListList & addressing ( ) const
virtual

Return interpolated addressing.

Reimplemented from FieldMapper.

Definition at line 333 of file faceMapper.C.

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

const Foam::scalarListList & weights ( ) const
virtual

Return interpolaion weights.

Reimplemented from FieldMapper.

Definition at line 353 of file faceMapper.C.

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

const Foam::labelHashSet & flipFaceFlux ( ) const
virtual

Return flux flip map.

Definition at line 392 of file faceMapper.C.

Referenced by fvSurfaceMapper::flipFaceFlux().

Foam::label nOldInternalFaces ( ) const
virtual

Return number of old internalFaces.

Definition at line 398 of file faceMapper.C.

const Foam::labelList & oldPatchStarts ( ) const
virtual

Return old patch starts.

Definition at line 404 of file faceMapper.C.

const Foam::labelList & oldPatchSizes ( ) const
virtual

Return old patch sizes.

Definition at line 410 of file faceMapper.C.

virtual bool insertedObjects ( ) const
inlinevirtual

Are there any inserted faces.

Implements morphFieldMapper.

Definition at line 160 of file faceMapper.H.

Referenced by fvSurfaceMapper::insertedObjects().

const Foam::labelList & insertedObjectLabels ( ) const
virtual

Return list of inserted faces.

Implements morphFieldMapper.

Definition at line 373 of file faceMapper.C.


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