polyMeshGenAddressing.C
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 \*---------------------------------------------------------------------------*/
25 
26 #include "polyMeshGenAddressing.H"
27 #include "demandDrivenData.H"
28 
29 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
30 
31 namespace Foam
32 {
33 
34 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
35 
37 
38 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
39 
41 :
42  mesh_(mesh),
43  edgesPtr_(NULL),
44  ccPtr_(NULL),
45  ecPtr_(NULL),
46  pcPtr_(NULL),
47  efPtr_(NULL),
48  pfPtr_(NULL),
49 
50  cePtr_(NULL),
51  fePtr_(NULL),
52  pePtr_(NULL),
53  ppPtr_(NULL),
54  cpPtr_(NULL),
55  cellCentresPtr_(NULL),
56  faceCentresPtr_(NULL),
57  cellVolumesPtr_(NULL),
58  faceAreasPtr_(NULL),
59  globalPointLabelPtr_(NULL),
60  globalFaceLabelPtr_(NULL),
61  globalCellLabelPtr_(NULL),
62  globalEdgeLabelPtr_(NULL),
63  pProcsPtr_(NULL),
64  globalToLocalPointAddressingPtr_(NULL),
65  pointNeiProcsPtr_(NULL),
66  eProcsPtr_(NULL),
67  globalToLocalEdgeAddressingPtr_(NULL),
68  edgeNeiProcsPtr_(NULL)
69 {}
70 
71 // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
72 
74 {
75  clearAll();
76 }
77 
78 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
79 
80 } // End namespace Foam
81 
82 // ************************************************************************* //
demandDrivenData.H
Template functions to aid in the implementation of demand driven data.
Foam::polyMeshGenAddressing::clearAll
void clearAll()
Clear everything primitive, geometry and addressing.
Definition: polyMeshGenAddressingClear.C:180
Foam::polyMeshGenAddressing::polyMeshGenAddressing
polyMeshGenAddressing()
Default constructor.
Foam::polyMeshGenCells
Definition: polyMeshGenCells.H:49
polyMeshGenAddressing
Cell-face mesh analysis engine.
Foam::polyMeshGenAddressing::~polyMeshGenAddressing
~polyMeshGenAddressing()
Definition: polyMeshGenAddressing.C:73
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:18
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::defineTypeNameAndDebug
defineTypeNameAndDebug(combustionModel, 0)
polyMeshGenAddressing.H