Forward compatibility: flex
[foam-extend-3.2.git] / src / mesh / cfMesh / utilities / surfaceTools / meshSurfaceEdgeExtractorNonTopo / meshSurfaceEdgeExtractorNonTopo.H
blob4ef947a9f9916b626411e0831ac882cf8dbd7e05
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.
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.
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.
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/>.
24 Class
25     meshSurfaceEdgeExtractorNonTopo
27 Description
28     Stores boundary faces into patches and captures edges and corners
30 SourceFiles
31     meshSurfaceEdgeExtractorNonTopo.C
33 \*---------------------------------------------------------------------------*/
35 #ifndef meshSurfaceEdgeExtractorNonTopo_H
36 #define meshSurfaceEdgeExtractorNonTopo_H
38 #include "polyMeshGenModifier.H"
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 namespace Foam
45 // Forward declarations
46 class meshOctree;
48 /*---------------------------------------------------------------------------*\
49                 Class meshSurfaceEdgeExtractorNonTopo Declaration
50 \*---------------------------------------------------------------------------*/
52 class meshSurfaceEdgeExtractorNonTopo
54     // Private data
55         //- reference to polyMeshGen
56         polyMeshGen& mesh_;
58         //- reference to meshOctree
59         const meshOctree& meshOctree_;
61     // Private member functions
63         //- decompose faces with more than one edge at the same feature edge
64         void decomposeBoundaryFaces();
66         //- re-map points after edges have been extracted
67         void remapBoundaryPoints();
69         //- Disallow default bitwise copy construct
70         meshSurfaceEdgeExtractorNonTopo(const meshSurfaceEdgeExtractorNonTopo&);
72         //- Disallow default bitwise assignment
73         void operator=(const meshSurfaceEdgeExtractorNonTopo&);
75 public:
77     // Constructors
79         //- Construct from mesh data
80         meshSurfaceEdgeExtractorNonTopo
81         (
82             polyMeshGen& mesh,
83             const meshOctree& octree
84         );
86     // Destructor
88         ~meshSurfaceEdgeExtractorNonTopo();
90     // Member Functions
94 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
96 } // End namespace Foam
98 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
100 #endif
102 // ************************************************************************* //