1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright held by original author
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
11 OpenFOAM 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 2 of the License, or (at your
14 option) any later version.
16 OpenFOAM 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 OpenFOAM; if not, write to the Free Software Foundation,
23 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 tetPolyBoundaryMeshFaceDecomp
31 tetPolyBoundaryMeshFaceDecomp.C
33 \*---------------------------------------------------------------------------*/
35 #ifndef tetPolyBoundaryMeshFaceDecomp_H
36 #define tetPolyBoundaryMeshFaceDecomp_H
38 #include "tetPolyPatchFaceDecompList.H"
39 #include "faceListFwd.H"
40 #include "lduInterfacePtrsList.H"
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 // Class forward declarations
48 class tetPolyMeshFaceDecomp;
49 class polyBoundaryMesh;
50 class globalTetPolyPatchFaceDecomp;
52 /*---------------------------------------------------------------------------*\
53 Class tetPolyBoundaryMeshFaceDecomp Declaration
54 \*---------------------------------------------------------------------------*/
56 class tetPolyBoundaryMeshFaceDecomp
58 public tetPolyPatchFaceDecompList
63 const tetPolyMeshFaceDecomp& mesh_;
66 // Private Member Functions
68 //- Disallow default bitwise copy construct
69 tetPolyBoundaryMeshFaceDecomp(const tetPolyBoundaryMeshFaceDecomp&);
71 //- Disallow default bitwise assignment
72 void operator=(const tetPolyBoundaryMeshFaceDecomp&);
79 //- Construct from polyBoundaryMesh
80 tetPolyBoundaryMeshFaceDecomp
82 const tetPolyMeshFaceDecomp&,
83 const polyBoundaryMesh&
91 //- Return the mesh reference
92 const tetPolyMeshFaceDecomp& mesh() const
97 //- Return a list of pointers for each patch
98 // with only those pointing to interfaces being set
99 lduInterfacePtrsList interfaces() const;
101 //- Return reference to shared processor point patch
102 const globalTetPolyPatchFaceDecomp& globalPatch() const;
104 //- Return boundary faces per patch. All are triangles
105 faceListList boundaryTriFaces() const;
115 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 } // End namespace Foam
119 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
123 // ************************************************************************* //