fpmaMesh.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | cfMesh: A library for mesh generation
4  \\ / O peration |
5  \\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com)
6  \\/ M anipulation | Copyright (C) Creative Fields, Ltd.
7 -------------------------------------------------------------------------------
8 License
9  This file is part of cfMesh.
10 
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.
15 
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
19  for more details.
20 
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/>.
23 
24 Class
25  fpmaMesh
26 
27 Description
28 
29 SourceFiles
30  fpmaMesh.C
31 
32 \*---------------------------------------------------------------------------*/
33 
34 #ifndef fpmaMesh_H
35 #define fpmaMesh_H
36 
37 #include "polyMeshGen.H"
38 #include "OFstream.H"
39 
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 
42 namespace Foam
43 {
44 
45 /*---------------------------------------------------------------------------*\
46  Class fpmaMesh Declaration
47 \*---------------------------------------------------------------------------*/
48 
49 class fpmaMesh
50 {
51  // Private data
52 
53 
54  // Private Member Functions
55 
56  //- Disallow default bitwise copy construct
57  fpmaMesh(const fpmaMesh&);
58 
59  //- Disallow default bitwise assignment
60  void operator=(const fpmaMesh&);
61 
62  void writePoints(OFstream& fpmaGeometryFile) const;
63 
64  void writeFaces(OFstream& fpmaGeometryFile) const;
65 
66  void writeCells(OFstream& fpmaGeometryFile) const;
67 
68  void writeSubsets(OFstream& fpmaGeometryFile) const;
69 
70 public:
71 
72  // Public data
73 
74  const polyMeshGen& mesh_;
75 
76  // Constructors
77 
78  //- Construct from polyMeshGen
79  fpmaMesh(const polyMeshGen& mesh);
80 
81 
82  // Destructor
83 
84  ~fpmaMesh();
85 
86 
87  // Member Functions
88 
89  // Access
90 
91  // Check
92 
93  // Edit
94 
95  // Write
96 
97  void write(OFstream& fpmaGeometryFile) const;
98 };
99 
100 
101 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
102 
103 } // End namespace Foam
104 
105 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106 
107 #endif
108 
109 // ************************************************************************* //
Foam::fpmaMesh::writeFaces
void writeFaces(OFstream &fpmaGeometryFile) const
Definition: fpmaMesh.C:80
Foam::fpmaMesh::fpmaMesh
fpmaMesh(const fpmaMesh &)
Disallow default bitwise copy construct.
Foam::fpmaMesh::operator=
void operator=(const fpmaMesh &)
Disallow default bitwise assignment.
Foam::fpmaMesh::writeCells
void writeCells(OFstream &fpmaGeometryFile) const
Definition: fpmaMesh.C:64
Foam::fpmaMesh::write
void write(OFstream &fpmaGeometryFile) const
Definition: fpmaMesh.C:177
Foam::polyMeshGen
Definition: polyMeshGen.H:46
OFstream.H
Foam::fpmaMesh::writeSubsets
void writeSubsets(OFstream &fpmaGeometryFile) const
Definition: fpmaMesh.C:95
polyMeshGen.H
Foam::fpmaMesh
Definition: fpmaMesh.H:48
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:18
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::fpmaMesh::writePoints
void writePoints(OFstream &fpmaGeometryFile) const
Definition: fpmaMesh.C:51
Foam::OFstream
Output to file stream.
Definition: OFstream.H:81
Foam::fpmaMesh::mesh_
const polyMeshGen & mesh_
Definition: fpmaMesh.H:73
Foam::fpmaMesh::~fpmaMesh
~fpmaMesh()
Definition: fpmaMesh.C:46