1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | cfMesh: A library for mesh generation
5 \\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com)
6 \\/ M anipulation | Copyright (C) Creative Fields, Ltd.
7 -------------------------------------------------------------------------------
9 This file is part of cfMesh.
11 cfMesh 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 cfMesh 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 cfMesh. If not, see <http://www.gnu.org/licenses/>.
28 Writes information for a given boundary patch
33 \*---------------------------------------------------------------------------*/
35 #ifndef boundaryPatch_H
36 #define boundaryPatch_H
38 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
40 #include "boundaryPatchBase.H"
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 : public boundaryPatchBase
54 //- Runtime type information
67 boundaryPatch(const word& name, const dictionary&);
69 // Return clone of the object
70 virtual autoPtr<boundaryPatchBase> clone() const
72 return autoPtr<boundaryPatchBase>
84 virtual autoPtr<boundaryPatchBase> clone(const boundaryPatch& wp) const
86 return autoPtr<boundaryPatchBase>
98 //- Return as dictionary of entries
99 dictionary dict() const;
103 void write(Ostream&) const;
106 void writeDict(Ostream&) const;
110 Ostream& operator<<(Ostream&) const;
112 Istream& operator>>(Istream&);
114 void operator=(const boundaryPatch&);
116 bool operator!=(const boundaryPatch&) const;
119 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121 } // End namespace Foam
123 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
127 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //