1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
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.
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
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/>.
24 \*---------------------------------------------------------------------------*/
26 #include "mapAddedPolyMesh.H"
28 // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
31 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
33 // Construct from components
34 Foam::mapAddedPolyMesh::mapAddedPolyMesh
36 const label nOldPoints,
37 const label nOldFaces,
38 const label nOldCells,
39 const label nAddedPoints,
40 const label nAddedFaces,
41 const label nAddedCells,
42 const labelList& oldPointMap,
43 const labelList& oldFaceMap,
44 const labelList& oldCellMap,
46 const labelList& addedPointMap,
47 const labelList& addedFaceMap,
48 const labelList& addedCellMap,
50 const labelList& oldPatchMap,
51 const labelList& addedPatchMap,
52 const labelList& oldPatchSizes,
53 const labelList& oldPatchStarts
56 nOldPoints_(nOldPoints),
57 nOldFaces_(nOldFaces),
58 nOldCells_(nOldCells),
59 nAddedPoints_(nAddedPoints),
60 nAddedFaces_(nAddedFaces),
61 nAddedCells_(nAddedCells),
63 oldPointMap_(oldPointMap),
64 oldFaceMap_(oldFaceMap),
65 oldCellMap_(oldCellMap),
67 addedPointMap_(addedPointMap),
68 addedFaceMap_(addedFaceMap),
69 addedCellMap_(addedCellMap),
71 oldPatchMap_(oldPatchMap),
72 addedPatchMap_(addedPatchMap),
74 oldPatchSizes_(oldPatchSizes),
75 oldPatchStarts_(oldPatchStarts)
79 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
82 // ************************************************************************* //