Creates dual of polyMesh. More...
#include <conversion/polyDualMesh.H>
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.
Definition at line 56 of file polyDualMesh.H.
Inheritance diagram for polyDualMesh:
Collaboration diagram for polyDualMesh: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 labelIOList & | cellPoint () const |
| From polyMesh cell to dual point.
| |
| const labelIOList & | boundaryFacePoint () 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.
| |
| polyDualMesh | ( | const IOobject & | io ) |
Construct from IOobject.
Definition at line 1362 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 1394 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 1440 of file polyDualMesh.C.
| ~polyDualMesh | ( | ) |
Definition at line 1638 of file polyDualMesh.C.
| 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 1487 of file polyDualMesh.C.
References polyMesh::boundaryMesh(), primitiveMesh::cellEdges(), primitiveMesh::edges(), Foam::endl(), polyMesh::faceOwner(), polyMesh::faces(), forAll, OFstream::name(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), polyMesh::points(), Foam::Pout, List< T >::size(), polyPatch::start(), List< T >::transfer(), WarningIn, and Foam::meshTools::writeOBJ().
| const labelIOList& cellPoint | ( | ) | const [inline]
|
From polyMesh cell to dual point.
Definition at line 207 of file polyDualMesh.H.
| const labelIOList& boundaryFacePoint | ( | ) | const [inline]
|
From polyMesh patch face to dual point.
Definition at line 213 of file polyDualMesh.H.