Public Member Functions | |
meshSurfaceEdgeExtractor2D (polyMeshGen &mesh, const meshOctree &octree) | |
Construct from mesh data. More... | |
~meshSurfaceEdgeExtractor2D () | |
void | distributeBoundaryFaces () |
distribute boundary faces into patches More... | |
void | remapBoundaryPoints () |
re-map points after edges have been extracted More... | |
Private Member Functions | |
meshSurfaceEdgeExtractor2D (const meshSurfaceEdgeExtractor2D &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const meshSurfaceEdgeExtractor2D &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
polyMeshGen & | mesh_ |
mesh More... | |
const meshOctree & | meshOctree_ |
octree More... | |
Definition at line 53 of file meshSurfaceEdgeExtractor2D.H.
|
private |
Disallow default bitwise copy construct.
meshSurfaceEdgeExtractor2D | ( | polyMeshGen & | mesh, |
const meshOctree & | octree | ||
) |
Construct from mesh data.
Definition at line 44 of file meshSurfaceEdgeExtractor2D.C.
Definition at line 55 of file meshSurfaceEdgeExtractor2D.C.
|
private |
Disallow default bitwise assignment.
void distributeBoundaryFaces | ( | ) |
distribute boundary faces into patches
copy boundary faces and their owner face
project face centres onto their nearest location on the surface mesh
this face is active
find the patch index of the nearest location on the surface mesh
replace the boundary
set correct patch types
Definition at line 50 of file meshSurfaceEdgeExtractor2DDistributeFaces.C.
References polyMeshGen2DEngine::activeFace(), LongList< T, Offset >::append(), VRWGraph::appendList(), polyMeshGenFaces::boundaries(), polyMeshGenModifier::boundariesAccess(), Foam::constant::universal::c, f(), polyMeshGenFaces::faces(), meshOctree::findNearestSurfacePoint(), forAll, meshSurfaceEdgeExtractor2D::mesh_, meshSurfaceEdgeExtractor2D::meshOctree_, polyMeshGenFaces::owner(), triSurfFacets::patches(), patchNames(), patchTypes(), points, polyMeshGenPoints::points(), polyMeshGenModifier::replaceBoundary(), List::size(), VRWGraph::size(), meshOctree::surface(), polyMeshGen2DEngine::zMaxPoints(), and polyMeshGen2DEngine::zMinPoints().
Referenced by cartesian2DMeshGenerator::extractPatches().
void remapBoundaryPoints | ( | ) |
re-map points after edges have been extracted
Definition at line 157 of file meshSurfaceEdgeExtractor2DDistributeFaces.C.
References meshSurfaceMapper2D::adjustZCoordinates(), meshSurfaceMapper2D::mapVerticesOntoSurfacePatches(), meshSurfaceEdgeExtractor2D::mesh_, and meshSurfaceEdgeExtractor2D::meshOctree_.
Referenced by cartesian2DMeshGenerator::mapEdgesAndCorners().
|
private |
mesh
Definition at line 57 of file meshSurfaceEdgeExtractor2D.H.
Referenced by meshSurfaceEdgeExtractor2D::distributeBoundaryFaces(), and meshSurfaceEdgeExtractor2D::remapBoundaryPoints().
|
private |
octree
Definition at line 60 of file meshSurfaceEdgeExtractor2D.H.
Referenced by meshSurfaceEdgeExtractor2D::distributeBoundaryFaces(), and meshSurfaceEdgeExtractor2D::remapBoundaryPoints().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.