/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License This file is part of OpenFOAM. OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenFOAM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenFOAM. If not, see . Class Foam::primitiveMesh Description Cell-face mesh analysis engine SourceFiles primitiveMeshI.H primitiveMesh.C primitiveMeshClear.C primitiveMeshCellCells.C primitiveMeshEdgeCells.C primitiveMeshPointCells.C primitiveMeshCells.C primitiveMeshEdgeFaces.C primitiveMeshPointFaces.C primitiveMeshCellEdges.C primitiveMeshPointEdges.C primitiveMeshPointPoints.C primitiveMeshEdges.C primitiveMeshCellCentresAndVols.C primitiveMeshFaceCentresAndAreas.C primitiveMeshEdgeVectors.C primitiveMeshCheck.C primitiveMeshCheckMotion.C primitiveMeshFindCell.C \*---------------------------------------------------------------------------*/ #ifndef primitiveMesh_H #define primitiveMesh_H #include "DynamicList.H" #include "edgeList.H" #include "pointField.H" #include "SubField.H" #include "SubList.H" #include "faceList.H" #include "cellList.H" #include "cellShapeList.H" #include "labelList.H" #include "boolList.H" #include "HashSet.H" #include "Map.H" #include "EdgeMap.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // namespace Foam { /*---------------------------------------------------------------------------*\ Class primitiveMesh Declaration \*---------------------------------------------------------------------------*/ class primitiveMesh { // Permanent data // Primitive size data //- Number of internal points (or -1 if points not sorted) label nInternalPoints_; //- Number of points label nPoints_; //- Number of internal edges using 0 boundary points mutable label nInternal0Edges_; //- Number of internal edges using 0 or 1 boundary points mutable label nInternal1Edges_; //- Number of internal edges using 0,1 or 2boundary points mutable label nInternalEdges_; //- Number of edges mutable label nEdges_; //- Number of internal faces label nInternalFaces_; //- Number of faces label nFaces_; //- Number of cells label nCells_; // Shapes //- Cell shapes mutable cellShapeList* cellShapesPtr_; //- Edges mutable edgeList* edgesPtr_; // Connectivity //- Cell-cells mutable labelListList* ccPtr_; //- Edge-cells mutable labelListList* ecPtr_; //- Point-cells mutable labelListList* pcPtr_; //- Cell-faces mutable cellList* cfPtr_; //- Edge-faces mutable labelListList* efPtr_; //- Point-faces mutable labelListList* pfPtr_; //- Cell-edges mutable labelListList* cePtr_; //- Face-edges mutable labelListList* fePtr_; //- Point-edges mutable labelListList* pePtr_; //- Point-points mutable labelListList* ppPtr_; //- Cell-points mutable labelListList* cpPtr_; // On-the-fly edge addresing storage //- Temporary storage for addressing. mutable DynamicList