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 tetMeshExtractorOctree
28 A class which extracts tet mesh out of an octree structure
31 tetMeshExtractorOctree.C
33 \*---------------------------------------------------------------------------*/
35 #ifndef tetMeshExtractorOctree_H
36 #define tetMeshExtractorOctree_H
38 #include "polyMeshGenModifier.H"
40 #include "tetCreatorOctree.H"
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48 /*---------------------------------------------------------------------------*\
49 Class tetMeshExtractorOctree Declaration
50 \*---------------------------------------------------------------------------*/
52 class tetMeshExtractorOctree
56 tetCreatorOctree tetCreator_;
58 //- reference to the mesh
61 // Private member functions
62 //- copy tetPoints_ into mesh
66 void createPolyMesh();
68 // Private copy constructor
69 //- Disallow default bitwise copy construct
70 tetMeshExtractorOctree ( const tetMeshExtractorOctree& );
72 //- Disallow default bitwise assignment
73 void operator= ( const tetMeshExtractorOctree& );
79 //- Construct from octree and mesh data
80 tetMeshExtractorOctree
82 const meshOctree& octree,
83 const IOdictionary& meshDict,
89 ~tetMeshExtractorOctree();
97 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
99 } // End namespace Foam
101 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105 // ************************************************************************* //