OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

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...

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 unallocLabelList & directAddressing () const
 Return direct addressing.
virtual const labelListList & addressing () const
 Return interpolated addressing.
virtual const scalarListList & weights () const
 Return interpolaion weights.
virtual const labelHashSet & flipFaceFlux () const
 Return flux flip map.
virtual label nOldInternalFaces () const
virtual const labelList & oldPatchStarts () const
virtual const labelList & oldPatchSizes () const
virtual bool insertedObjects () const
 Are there any inserted faces.
virtual const labelList & insertedObjectLabels () const
 Return list of inserted faces.

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 51 of file faceMapper.H.


Constructor & Destructor Documentation

faceMapper ( const mapPolyMesh &  mpm  ) 

Construct from mapPolyMesh.

Definition at line 200 of file faceMapper.C.

~faceMapper (  )  [virtual]

Definition at line 271 of file faceMapper.C.


Member Function Documentation

Foam::label size (  )  const [virtual]

Return size.

Implements FieldMapper.

Definition at line 279 of file faceMapper.C.

Foam::label sizeBeforeMapping (  )  const [virtual]

Return size of field before mapping.

Implements morphFieldMapper.

Definition at line 285 of file faceMapper.C.

References primitiveMesh::nFaces().

Here is the call graph for this function:

Foam::label internalSizeBeforeMapping (  )  const [virtual]

Return number of internal faces before mapping.

Definition at line 291 of file faceMapper.C.

Referenced by fvSurfaceMapper::direct().

Here is the caller graph for this function:

virtual bool direct (  )  const [inline, virtual]

Is the mapping direct.

Implements FieldMapper.

Definition at line 128 of file faceMapper.H.

const Foam::unallocLabelList & directAddressing (  )  const [virtual]

Return direct addressing.

Reimplemented from FieldMapper.

Definition at line 297 of file faceMapper.C.

const Foam::labelListList & addressing (  )  const [virtual]

Return interpolated addressing.

Reimplemented from FieldMapper.

Definition at line 325 of file faceMapper.C.

const Foam::scalarListList & weights (  )  const [virtual]

Return interpolaion weights.

Reimplemented from FieldMapper.

Definition at line 345 of file faceMapper.C.

const Foam::labelHashSet & flipFaceFlux (  )  const [virtual]

Return flux flip map.

Definition at line 384 of file faceMapper.C.

Foam::label nOldInternalFaces (  )  const [virtual]

Definition at line 390 of file faceMapper.C.

const Foam::labelList & oldPatchStarts (  )  const [virtual]

Definition at line 396 of file faceMapper.C.

const Foam::labelList & oldPatchSizes (  )  const [virtual]

Definition at line 402 of file faceMapper.C.

virtual bool insertedObjects (  )  const [inline, virtual]

Are there any inserted faces.

Implements morphFieldMapper.

Definition at line 155 of file faceMapper.H.

const Foam::labelList & insertedObjectLabels (  )  const [virtual]

Return list of inserted faces.

Implements morphFieldMapper.

Definition at line 365 of file faceMapper.C.


The documentation for this class was generated from the following files:
  • src/OpenFOAM/meshes/polyMesh/mapPolyMesh/faceMapper/faceMapper.H
  • src/OpenFOAM/meshes/polyMesh/mapPolyMesh/faceMapper/faceMapper.C
Copyright © 2000-2009 OpenCFD Ltd