IOmapDistributePolyMesh.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
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.
15 
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.
20 
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/>.
23 
24 Class
25  Foam::IOmapDistributePolyMesh
26 
27 Description
28  IOmapDistributePolyMesh is derived from mapDistributePolyMesh and
29  IOobject to give the mapDistributePolyMesh
30  automatic IO functionality via the objectRegistry.
31 
32 SourceFiles
33  IOmapDistributePolyMesh.C
34 
35 \*---------------------------------------------------------------------------*/
36 
37 #ifndef IOmapDistributePolyMesh_H
38 #define IOmapDistributePolyMesh_H
39 
40 #include "mapDistributePolyMesh.H"
41 #include "regIOobject.H"
42 
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 
45 namespace Foam
46 {
47 
48 /*---------------------------------------------------------------------------*\
49  Class IOmapDistributePolyMesh Declaration
50 \*---------------------------------------------------------------------------*/
51 
53 :
54  public regIOobject,
56 {
57 
58 public:
59 
60  //- Runtime type information
61  TypeName("mapDistributePolyMesh");
62 
63  // Constructors
64 
65  //- Construct given an IOobject
67 
68  //- Construct given an IOobject and mapDistributePolyMesh
70 
71 
72  //- Destructor
73  virtual ~IOmapDistributePolyMesh();
74 
75 
76  // Member functions
77 
78  //- ReadData function required for regIOobject read operation
79  virtual bool readData(Istream&);
80 
81  //- WriteData function required for regIOobject write operation
82  virtual bool writeData(Ostream&) const;
83 
84 };
85 
86 
87 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
88 
89 } // End namespace Foam
90 
91 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
92 
93 #endif
94 
95 // ************************************************************************* //
regIOobject.H
Foam::IOobject
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Definition: IOobject.H:91
Foam::IOmapDistributePolyMesh::TypeName
TypeName("mapDistributePolyMesh")
Runtime type information.
Foam::IOmapDistributePolyMesh::IOmapDistributePolyMesh
IOmapDistributePolyMesh(const IOobject &)
Construct given an IOobject.
Definition: IOmapDistributePolyMesh.C:38
mapDistributePolyMesh.H
Foam::Istream
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Definition: Istream.H:57
Foam::IOmapDistributePolyMesh::writeData
virtual bool writeData(Ostream &) const
WriteData function required for regIOobject write operation.
Definition: IOmapDistributePolyMesh.C:116
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::regIOobject
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Definition: regIOobject.H:60
Foam::IOmapDistributePolyMesh
IOmapDistributePolyMesh is derived from mapDistributePolyMesh and IOobject to give the mapDistributeP...
Definition: IOmapDistributePolyMesh.H:51
Foam::IOmapDistributePolyMesh::~IOmapDistributePolyMesh
virtual ~IOmapDistributePolyMesh()
Destructor.
Definition: IOmapDistributePolyMesh.C:104
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:53
Foam::mapDistributePolyMesh
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Definition: mapDistributePolyMesh.H:57
Foam::IOmapDistributePolyMesh::readData
virtual bool readData(Istream &)
ReadData function required for regIOobject read operation.
Definition: IOmapDistributePolyMesh.C:110