meshSurfaceEdgeCreateBoundaryFaces.C
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 Description
25 
26 \*---------------------------------------------------------------------------*/
27 
28 #include "demandDrivenData.H"
30 #include "boundaryFacesGenerator.H"
31 #include "meshOctree.H"
32 #include "triSurf.H"
33 
34 //#define DEBUGMapping
35 
36 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
37 
38 namespace Foam
39 {
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
44 {
45  boundaryFacesGenerator bfg
46  (
47  mesh_,
49  nPoints_,
50  mesh_.boundaries()[0].patchStart(),
54  );
55 }
56 
57 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
58 
59 } // End namespace Foam
60 
61 // ************************************************************************* //
triSurf.H
demandDrivenData.H
Template functions to aid in the implementation of demand driven data.
Foam::meshSurfaceEdgeExtractor::meshOctree_
const meshOctree & meshOctree_
reference to the octree
Definition: meshSurfaceEdgeExtractor.H:66
meshOctree.H
Foam::meshSurfaceEdgeExtractor::mesh_
polyMeshGen & mesh_
mesh
Definition: meshSurfaceEdgeExtractor.H:57
Foam::meshSurfaceEdgeExtractor::nPoints_
label nPoints_
Definition: meshSurfaceEdgeExtractor.H:59
Foam::meshSurfaceEdgeExtractor::nFacesInCell_
List< direction > nFacesInCell_
Definition: meshSurfaceEdgeExtractor.H:63
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::meshSurfaceEdgeExtractor::pointRegions_
VRWGraph pointRegions_
regions for boundary vertices
Definition: meshSurfaceEdgeExtractor.H:69
Foam::polyMeshGenFaces::boundaries
const PtrList< boundaryPatch > & boundaries() const
ordinary boundaries
Definition: polyMeshGenFacesI.H:111
Foam::meshSurfaceEdgeExtractor::boundaryCell_
boolList boundaryCell_
Definition: meshSurfaceEdgeExtractor.H:61
Foam::meshOctree::surface
const triSurf & surface() const
return a reference to the surface
Definition: meshOctreeI.H:130
Foam::meshSurfaceEdgeExtractor::createBoundaryFaces
void createBoundaryFaces()
create new boundary faces
Definition: meshSurfaceEdgeCreateBoundaryFaces.C:43
meshSurfaceEdgeExtractor.H