1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | cfMesh: A library for mesh generation
5 \\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com)
6 \\/ M anipulation | Copyright (C) Creative Fields, Ltd.
7 -------------------------------------------------------------------------------
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
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/>.
25 createFundamentalSheetsJFS
28 Inserts sheets at the boundary of the mesh to capture all feature edges
31 createFundamentalSheetsJFS.C
33 \*---------------------------------------------------------------------------*/
35 #ifndef createFundamentalSheetsJFS_H
36 #define createFundamentalSheetsJFS_H
38 #include "polyMeshGenModifier.H"
39 #include "createFundamentalSheets.H"
40 #include "labelLongList.H"
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48 // Forward declarations
49 class meshSurfaceEngine;
51 /*---------------------------------------------------------------------------*\
52 Class createFundamentalSheetsJFS Declaration
53 \*---------------------------------------------------------------------------*/
55 class createFundamentalSheetsJFS
57 public createFundamentalSheets
59 // Private member functions
60 //- check if all cells have only one face at the boundary
61 bool isTopologyOk() const;
63 //- create inital sheet from all boundary faces of the surface mesh
64 void createInitialSheet();
66 //- create fundamental sheets for all feature edges
67 void createSheetsAtFeatureEdges();
69 //- Disallow default construct
70 createFundamentalSheetsJFS();
72 //- Disallow default bitwise copy construct
73 createFundamentalSheetsJFS(const createFundamentalSheetsJFS&);
75 //- Disallow default bitwise assignment
76 void operator=(const createFundamentalSheetsJFS&);
80 // Runtime type information
85 //- Construct from mesh data
86 createFundamentalSheetsJFS
89 const bool createWrapperSheet = true
94 ~createFundamentalSheetsJFS();
100 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
102 } // End namespace Foam
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 // ************************************************************************* //