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

polyDualMesh Class Reference

Creates dual of polyMesh. More...

Inheritance diagram for polyDualMesh:
Collaboration diagram for polyDualMesh:

List of all members.


Public Member Functions

 ClassName ("polyDualMesh")
 Runtime type information.
 polyDualMesh (const IOobject &)
 Construct from IOobject.
 polyDualMesh (const polyMesh &, const labelList &featureEdges, const labelList &featurePoints)
 Construct from polyMesh and list of edges and points to represent.
 polyDualMesh (const polyMesh &, const scalar featureCos)
 Construct from polyMesh and feature edge angle. Uses calcFeatures.
 ~polyDualMesh ()
const labelIOListcellPoint () const
 From polyMesh cell to dual point.
const labelIOListboundaryFacePoint () const
 From polyMesh patch face to dual point.

Static Public Member Functions

static void calcFeatures (const polyMesh &, const scalar featureCos, labelList &featureEdges, labelList &featurePoints)
 Helper function to create feature edges and points based on.

Detailed Description

Creates dual of polyMesh.

Every polyMesh point becomes a cell on the dual mesh

Every polyMesh cell and patchFace becomes a point on the dual mesh.

Source files

Definition at line 51 of file polyDualMesh.H.


Constructor & Destructor Documentation

polyDualMesh ( const IOobject io  ) 

Construct from IOobject.

Definition at line 1354 of file polyDualMesh.C.

polyDualMesh ( const polyMesh mesh,
const labelList featureEdges,
const labelList featurePoints 
)

Construct from polyMesh and list of edges and points to represent.

Feature edge and point labels are in local addressing of a patch over all boundary faces.

Definition at line 1386 of file polyDualMesh.C.

polyDualMesh ( const polyMesh mesh,
const scalar  featureCos 
)

Construct from polyMesh and feature edge angle. Uses calcFeatures.

below to determine feature edges and points.

Definition at line 1432 of file polyDualMesh.C.

~polyDualMesh (  ) 

Definition at line 1630 of file polyDualMesh.C.


Member Function Documentation

ClassName ( "polyDualMesh"   ) 

Runtime type information.

void calcFeatures ( const polyMesh mesh,
const scalar  featureCos,
labelList featureEdges,
labelList featurePoints 
) [static]

Helper function to create feature edges and points based on.

feature angle and patches.

Definition at line 1479 of file polyDualMesh.C.

const labelIOList& cellPoint (  )  const [inline]

From polyMesh cell to dual point.

Definition at line 208 of file polyDualMesh.H.

const labelIOList& boundaryFacePoint (  )  const [inline]

From polyMesh patch face to dual point.

Definition at line 214 of file polyDualMesh.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd