Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / src / dynamicMesh / dynamicTopoFvMesh / coupledMesh / subMeshProcessorPolyPatch.H
blobd1e8fb7b0177aa6e3d80911eb6a10de74ade2b05
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | foam-extend: Open Source CFD
4    \\    /   O peration     | Version:     3.2
5     \\  /    A nd           | Web:         http://www.foam-extend.org
6      \\/     M anipulation  | For copyright notice see file Copyright
7 -------------------------------------------------------------------------------
8 License
9     This file is part of foam-extend.
11     foam-extend 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     foam-extend is distributed in the hope that it will be useful, but
17     WITHOUT ANY WARRANTY; without even the implied warranty of
18     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19     General Public License for more details.
21     You should have received a copy of the GNU General Public License
22     along with foam-extend.  If not, see <http://www.gnu.org/licenses/>.
24 Class
25     subMeshProcessorPolyPatch
27 Description
28     Customized processor type for subMeshes.
30     The intent of this class is to provide processor patch information
31     on subMeshes, but avoiding all forms of communication.
33 Author
34     Sandeep Menon
35     University of Massachusetts Amherst
36     All rights reserved
38 \*---------------------------------------------------------------------------*/
40 #ifndef subMeshProcessorPolyPatch_H
41 #define subMeshProcessorPolyPatch_H
43 #include "processorPolyPatch.H"
45 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 namespace Foam
50 /*---------------------------------------------------------------------------*\
51                   Class subMeshProcessorPolyPatch Declaration
52 \*---------------------------------------------------------------------------*/
54 class subMeshProcessorPolyPatch
56     public processorPolyPatch
59 public:
61     //- Runtime type information
62     TypeName("subMeshProcessor");
64     // Constructors
66         //- Construct from components
67         subMeshProcessorPolyPatch
68         (
69             const word& name,
70             const label size,
71             const label start,
72             const label index,
73             const polyBoundaryMesh& bm,
74             const int myProcNo,
75             const int neighbProcNo
76         );
78         //- Construct from dictionary
79         subMeshProcessorPolyPatch
80         (
81             const word& name,
82             const dictionary& dict,
83             const label index,
84             const polyBoundaryMesh&
85         );
87     // Destructor
89         virtual ~subMeshProcessorPolyPatch();
92 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
94 } // End namespace Foam
96 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
98 #endif
100 // ************************************************************************* //