meshSurfaceEdgeExtractor2D.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | cfMesh: A library for mesh generation
4  \\ / O peration |
5  \\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com)
6  \\/ M anipulation | Copyright (C) Creative Fields, Ltd.
7 -------------------------------------------------------------------------------
8 License
9  This file is part of cfMesh.
10 
11  cfMesh is free software; you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by the
13  Free Software Foundation; either version 3 of the License, or (at your
14  option) any later version.
15 
16  cfMesh is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with cfMesh. If not, see <http://www.gnu.org/licenses/>.
23 
24 Class
25  meshSurfaceEdgeExtractor2D
26 
27 Description
28  Stores boundary faces into patches and captures edges and corners
29 
30 SourceFiles
31  meshSurfaceEdgeExtractor2D.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef meshSurfaceEdgeExtractor2D_H
36 #define meshSurfaceEdgeExtractor2D_H
37 
38 #include "polyMeshGenModifier.H"
39 #include "boolList.H"
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
45 
46 // Forward declarations
47 class meshOctree;
48 class meshSurfaceEngine;
49 
50 /*---------------------------------------------------------------------------*\
51  Class meshSurfaceEdgeExtractor2D Declaration
52 \*---------------------------------------------------------------------------*/
53 
55 {
56  // Private data
57  //- mesh
59 
60  //- octree
61  const meshOctree& meshOctree_;
62 
63  // Private member functions
64 
65  //- Disallow default bitwise copy construct
67 
68  //- Disallow default bitwise assignment
70 
71 public:
72 
73  // Constructors
74 
75  //- Construct from mesh data
77  (
79  const meshOctree& octree
80  );
81 
82  // Destructor
83 
85 
86  // Member Functions
87  //- distribute boundary faces into patches
89 
90  //- re-map points after edges have been extracted
91  void remapBoundaryPoints();
92 };
93 
94 
95 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
96 
97 } // End namespace Foam
98 
99 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
100 
101 #endif
102 
103 // ************************************************************************* //
Foam::meshSurfaceEdgeExtractor2D
Definition: meshSurfaceEdgeExtractor2D.H:53
Foam::meshSurfaceEdgeExtractor2D::~meshSurfaceEdgeExtractor2D
~meshSurfaceEdgeExtractor2D()
Definition: meshSurfaceEdgeExtractor2D.C:55
boolList.H
meshSurfaceEngine
Calculates surface of the mesh.
Foam::meshSurfaceEdgeExtractor2D::mesh_
polyMeshGen & mesh_
mesh
Definition: meshSurfaceEdgeExtractor2D.H:57
polyMeshGenModifier.H
Foam::polyMeshGen
Definition: polyMeshGen.H:46
Foam::meshSurfaceEdgeExtractor2D::meshSurfaceEdgeExtractor2D
meshSurfaceEdgeExtractor2D(const meshSurfaceEdgeExtractor2D &)
Disallow default bitwise copy construct.
Foam::meshSurfaceEdgeExtractor2D::remapBoundaryPoints
void remapBoundaryPoints()
re-map points after edges have been extracted
Definition: meshSurfaceEdgeExtractor2DDistributeFaces.C:157
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:18
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::meshOctree
Definition: meshOctree.H:55
meshOctree
Octree for mesh generation.
Foam::meshSurfaceEdgeExtractor2D::meshOctree_
const meshOctree & meshOctree_
octree
Definition: meshSurfaceEdgeExtractor2D.H:60
Foam::meshSurfaceEdgeExtractor2D::operator=
void operator=(const meshSurfaceEdgeExtractor2D &)
Disallow default bitwise assignment.
Foam::meshSurfaceEdgeExtractor2D::distributeBoundaryFaces
void distributeBoundaryFaces()
distribute boundary faces into patches
Definition: meshSurfaceEdgeExtractor2DDistributeFaces.C:50