fixed writing out entries in advective bc
[OpenFOAM-1.6-ext.git] / src / tetDecompositionFiniteElement / tetPolyMeshFaceDecomp / tetPolyBoundaryMesh / tetPolyBoundaryMeshFaceDecomp.H
blob63c4e861ea36e1c5a6c2a2a38485e341d61c6cc9
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright held by original author
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
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
19     for more details.
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
25 Class
26     tetPolyBoundaryMeshFaceDecomp
28 Description
30 SourceFiles
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 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 namespace Foam
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
60     // Private data
62         //- Reference to mesh
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&);
75 public:
77     // Constructors
79         //- Construct from polyBoundaryMesh
80         tetPolyBoundaryMeshFaceDecomp
81         (
82             const tetPolyMeshFaceDecomp&,
83             const polyBoundaryMesh&
84         );
87     // Member functions
89         // Access
91         //- Return the mesh reference
92             const tetPolyMeshFaceDecomp& mesh() const
93             {
94                 return mesh_;
95             }
96     
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;
108         // Edit
110             // Update topology
111             void updateMesh();
115 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 } // End namespace Foam
119 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121 #endif
123 // ************************************************************************* //