createFundamentalSheetsJFS.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  createFundamentalSheetsJFS
26 
27 Description
28  Inserts sheets at the boundary of the mesh to capture all feature edges
29 
30 SourceFiles
31  createFundamentalSheetsJFS.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef createFundamentalSheetsJFS_H
36 #define createFundamentalSheetsJFS_H
37 
38 #include "polyMeshGenModifier.H"
40 #include "labelLongList.H"
41 #include "boolList.H"
42 
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 
45 namespace Foam
46 {
47 
48 // Forward declarations
49 class meshSurfaceEngine;
50 
51 /*---------------------------------------------------------------------------*\
52  Class createFundamentalSheetsJFS Declaration
53 \*---------------------------------------------------------------------------*/
54 
56 :
58 {
59  // Private member functions
60  //- check if all cells have only one face at the boundary
61  bool isTopologyOk() const;
62 
63  //- create inital sheet from all boundary faces of the surface mesh
64  void createInitialSheet();
65 
66  //- create fundamental sheets for all feature edges
68 
69  //- Disallow default construct
71 
72  //- Disallow default bitwise copy construct
74 
75  //- Disallow default bitwise assignment
77 
78 public:
79 
80  // Runtime type information
81  TypeName("Shepherd");
82 
83  // Constructors
84 
85  //- Construct from mesh data
87  (
89  const bool createWrapperSheet = true
90  );
91 
92  // Destructor
93 
95 
96  // Member Functions
97 };
98 
99 
100 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
101 
102 } // End namespace Foam
103 
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105 
106 #endif
107 
108 // ************************************************************************* //
boolList.H
Foam::createFundamentalSheetsJFS::createFundamentalSheetsJFS
createFundamentalSheetsJFS()
Disallow default construct.
meshSurfaceEngine
Calculates surface of the mesh.
Foam::createFundamentalSheetsJFS::createInitialSheet
void createInitialSheet()
create inital sheet from all boundary faces of the surface mesh
Definition: createFundamentalSheetsJFS.C:97
polyMeshGenModifier.H
Foam::createFundamentalSheetsJFS::operator=
void operator=(const createFundamentalSheetsJFS &)
Disallow default bitwise assignment.
Foam::createFundamentalSheetsJFS::createSheetsAtFeatureEdges
void createSheetsAtFeatureEdges()
create fundamental sheets for all feature edges
Definition: createFundamentalSheetsJFS.C:134
createFundamentalSheets.H
Foam::polyMeshGen
Definition: polyMeshGen.H:46
Foam::createFundamentalSheetsJFS::TypeName
TypeName("Shepherd")
Foam::createFundamentalSheetsJFS::isTopologyOk
bool isTopologyOk() const
check if all cells have only one face at the boundary
Definition: createFundamentalSheetsJFS.C:62
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:18
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::createFundamentalSheetsJFS
Definition: createFundamentalSheetsJFS.H:54
labelLongList.H
Foam::createFundamentalSheets
Definition: createFundamentalSheets.H:55
Foam::createFundamentalSheetsJFS::~createFundamentalSheetsJFS
~createFundamentalSheetsJFS()
Definition: createFundamentalSheetsJFS.C:278