Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[foam-extend-3.2.git] / src / mesh / cfMesh / utilities / meshes / polyMeshGenAddressing / polyMeshGenAddressing.C
blob3d442b1568c0a1ed89ab5f7200521321ddeb9ab9
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.
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
19     for more details.
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/>.
24 \*---------------------------------------------------------------------------*/
26 #include "polyMeshGenAddressing.H"
27 #include "demandDrivenData.H"
29 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
31 namespace Foam
34 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
36 defineTypeNameAndDebug(polyMeshGenAddressing, 0);
38 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
40 polyMeshGenAddressing::polyMeshGenAddressing(const polyMeshGenCells& mesh)
42     mesh_(mesh),
43     edgesPtr_(NULL),
44     ccPtr_(NULL),
45     ecPtr_(NULL),
46     pcPtr_(NULL),
47     efPtr_(NULL),
48     pfPtr_(NULL),
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)
71 // * * * * * * * * * * * * * * * * Destructor  * * * * * * * * * * * * * * * //
73 polyMeshGenAddressing::~polyMeshGenAddressing()
75     clearAll();
78 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
80 } // End namespace Foam
82 // ************************************************************************* //