BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / src / OpenFOAM / meshes / pointMesh / pointPatches / constraint / empty / emptyPointPatch.H
blob121668db484624cdb5ffcf6e07c2719574f1ed9a
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
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
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
19     for more details.
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/>.
24 Class
25     Foam::emptyPointPatch
27 Description
28     Empty plane patch.
30 SourceFiles
31     emptyPointPatch.C
33 \*---------------------------------------------------------------------------*/
35 #ifndef emptyPointPatch_H
36 #define emptyPointPatch_H
38 #include "facePointPatch.H"
39 #include "emptyPolyPatch.H"
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43 namespace Foam
46 /*---------------------------------------------------------------------------*\
47                       Class emptyPointPatch Declaration
48 \*---------------------------------------------------------------------------*/
50 class emptyPointPatch
52     public facePointPatch
55 public:
57     //- Runtime type information
58     TypeName(emptyPolyPatch::typeName_());
61     // Constructors
63         //- Construct from polyPatch
64         emptyPointPatch
65         (
66             const polyPatch& patch,
67             const pointBoundaryMesh& bm
68         )
69         :
70             facePointPatch(patch, bm)
71         {}
74     // Member Functions
76         //- Return the constraint type this pointPatch implements.
77         virtual const word& constraintType() const
78         {
79             return type();
80         }
82         //- Accumulate the effect of constraint direction of this patch
83         virtual void applyConstraint
84         (
85             const label pointi,
86             pointConstraint&
87         ) const;
91 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
93 } // End namespace Foam
95 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
97 #endif
99 // ************************************************************************* //