1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2011 OpenCFD Ltd.
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
13 the Free Software Foundation, either version 3 of the License, or
14 (at your 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, see <http://www.gnu.org/licenses/>.
33 \*---------------------------------------------------------------------------*/
35 #ifndef fvBoundaryMesh_H
36 #define fvBoundaryMesh_H
38 #include "fvPatchList.H"
39 #include "lduInterfacePtrsList.H"
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 class polyBoundaryMesh;
49 /*---------------------------------------------------------------------------*\
50 Class fvBoundaryMesh Declaration
51 \*---------------------------------------------------------------------------*/
63 // Private Member Functions
65 //- Disable default copy construct
66 fvBoundaryMesh(const fvBoundaryMesh&);
68 //- Disallow assignment
69 void operator=(const fvBoundaryMesh&);
71 //- Add fvPatches corresponding to the given polyBoundaryMesh
72 void addPatches(const polyBoundaryMesh&);
77 //- Update boundary based on new polyBoundaryMesh
78 void readUpdate(const polyBoundaryMesh&);
88 //- Construct with zero size
94 //- Construct from polyBoundaryMesh
98 const polyBoundaryMesh&
106 //- Return the mesh reference
107 const fvMesh& mesh() const
112 //- Return a list of pointers for each patch
113 // with only those pointing to interfaces being set
114 lduInterfacePtrsList interfaces() const;
117 //- Correct patches after moving points
122 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
124 } // End namespace Foam
126 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
130 // ************************************************************************* //