mapPolyMesh.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2011-2016 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 Class
27  Foam::mapPolyMesh
28 
29 Description
30  Class containing mesh-to-mesh mapping information after a change
31  in polyMesh topology.
32 
33  General:
34  - pointMap/faceMap/cellMap: \n
35  from current mesh back to previous mesh.
36  (so to 'pull' the information onto the current mesh)
37  - reversePointMap/faceMap/cellMap: \n
38  from previous mesh to current. (so to 'push' information)
39 
40  In the topology change points/faces/cells
41  - can be unchanged. (faces might be renumbered though)
42  - can be removed (into nothing)
43  - can be removed into/merged with existing same entity
44  (so point merged with other point, face with other face, cell with
45  other cell. Note that probably only cell with cell is relevant)
46  - can be added from existing same 'master' entity
47  (so point from point, face from face and cell from cell)
48  - can be inflated: face out of edge or point,
49  cell out of face, edge or point.
50  - can be appended: added 'out of nothing'.
51 
52  All this information is necessary to correctly map fields.
53 
54  \par points
55 
56  - unchanged:
57  - pointMap[pointi] contains old point label
58  - reversePointMap[oldPointi] contains new point label
59  - removed:
60  - reversePointMap[oldPointi] contains -1
61  - merged into point:
62  - reversePointMap[oldPointi] contains <-1 : -newPointi-2
63  - pointMap[pointi] contains the old master point label
64  - pointsFromPoints gives for pointi all the old point labels
65  (including the old master point!)
66  - added-from-same:
67  - pointMap[pointi] contains the old master point label
68  - appended:
69  - pointMap[pointi] contains -1
70 
71  \par faces
72 
73  - unchanged:
74  - faceMap[facei] contains old face label
75  - reverseFaceMap[oldFacei] contains new face label
76  - removed:
77  - reverseFaceMap[oldFacei] contains -1
78  - merged into face:
79  - reverseFaceMap[oldFacei] contains <-1 : -newFacei-2
80  - faceMap[facei] contains the old master face label
81  - facesFromFaces gives for facei all the old face labels
82  (including the old master face!)
83  - added-from-same:
84  - faceMap[facei] contains the old master face label
85  - inflated-from-edge:
86  - faceMap[facei] contains -1
87  - facesFromEdges contains an entry with
88  - facei
89  - list of faces(*) on old mesh that connected to the old edge
90  - inflated-from-point:
91  - faceMap[facei] contains -1
92  - facesFromPoints contains an entry with
93  - facei
94  - list of faces(*) on old mesh that connected to the old point
95  - appended:
96  - faceMap[facei] contains -1
97 
98  Note (*) \n
99  if the newly inflated face is a boundary face the list of faces will
100  only be boundary faces; if the new face is an internal face they
101  will only be internal faces.
102 
103  \par cells
104 
105  - unchanged:
106  - cellMap[celli] contains old cell label
107  - reverseCellMap[oldCelli] contains new cell label
108  - removed:
109  - reverseCellMap[oldCelli] contains -1
110  - merged into cell:
111  - reverseCellMap[oldCelli] contains <-1 : -newCelli-2
112  - cellMap[celli] contains the old master cell label
113  - cellsFromCells gives for celli all the old cell labels
114  (including the old master cell!)
115  - added-from-same:
116  - cellMap[celli] contains the old master cell label
117  - inflated-from-face:
118  - cellMap[celli] contains -1
119  - cellsFromFaces contains an entry with
120  - celli
121  - list of cells on old mesh that connected to the old face
122  - inflated-from-edge:
123  - cellMap[celli] contains -1
124  - cellsFromEdges contains an entry with
125  - celli
126  - list of cells on old mesh that connected to the old edge
127  - inflated-from-point:
128  - cellMap[celli] contains -1
129  - cellsFromPoints contains an entry with
130  - celli
131  - list of cells on old mesh that connected to the old point
132  - appended:
133  - cellMap[celli] contains -1
134 
135 
136 SourceFiles
137  mapPolyMesh.C
138 
139 \*---------------------------------------------------------------------------*/
140 
141 #ifndef mapPolyMesh_H
142 #define mapPolyMesh_H
143 
144 #include "labelList.H"
145 #include "objectMap.H"
146 #include "pointField.H"
147 #include "HashSet.H"
148 #include "Map.H"
149 
150 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
151 
152 namespace Foam
153 {
154 
155 class polyMesh;
156 
157 /*---------------------------------------------------------------------------*\
158  Class mapPolyMesh Declaration
159 \*---------------------------------------------------------------------------*/
160 
161 class mapPolyMesh
162 {
163  // Private data
164 
165  //- Reference to polyMesh
166  const polyMesh& mesh_;
167 
168  //- Number of old live points
169  const label nOldPoints_;
170 
171  //- Number of old live faces
172  const label nOldFaces_;
173 
174  //- Number of old live cells
175  const label nOldCells_;
176 
177  //- Old point map.
178  // Contains the old point label for all new points.
179  // - for preserved points this is the old point label.
180  // - for added points this is the master point ID
181  // - for points added with no master, this is -1
182  // Size of the list equals the size of new points
183  const labelList pointMap_;
184 
185  //- Points resulting from merging points
186  const List<objectMap> pointsFromPointsMap_;
187 
188  //- Old face map.
189  // Contains a list of old face labels for every new face.
190  // Size of the list equals the number of new faces
191  // - for preserved faces this is the old face label.
192  // - for faces added from faces this is the master face ID
193  // - for faces added with no master, this is -1
194  // - for faces added from points or edges, this is -1
195  const labelList faceMap_;
196 
197  //- Faces inflated from points
198  const List<objectMap> facesFromPointsMap_;
199 
200  //- Faces inflated from edges
201  const List<objectMap> facesFromEdgesMap_;
202 
203  //- Faces resulting from merging faces
204  const List<objectMap> facesFromFacesMap_;
205 
206  //- Old cell map.
207  // Contains old cell label for all preserved cells.
208  // Size of the list equals the number or preserved cells
209  const labelList cellMap_;
210 
211  //- Cells inflated from points
212  const List<objectMap> cellsFromPointsMap_;
213 
214  //- Cells inflated from edges
215  const List<objectMap> cellsFromEdgesMap_;
216 
217  //- Cells inflated from faces
218  const List<objectMap> cellsFromFacesMap_;
219 
220  //- Cells resulting from merging cells
221  const List<objectMap> cellsFromCellsMap_;
222 
223  //- Reverse point map
224  const labelList reversePointMap_;
225 
226  //- Reverse face map
227  const labelList reverseFaceMap_;
228 
229  //- Reverse cell map
230  const labelList reverseCellMap_;
231 
232  //- Map of flipped face flux faces
233  const labelHashSet flipFaceFlux_;
234 
235  //- Patch mesh point renumbering
236  labelListList patchPointMap_;
237 
238  //- Point zone renumbering
239  // For every preserved point in zone give the old position.
240  // For added points, the index is set to -1
241  labelListList pointZoneMap_;
242 
243  //- Face zone point renumbering
244  // For every preserved point in zone give the old position.
245  // For added points, the index is set to -1
246  labelListList faceZonePointMap_;
247 
248  //- Face zone face renumbering
249  // For every preserved face in zone give the old position.
250  // For added faces, the index is set to -1
251  labelListList faceZoneFaceMap_;
252 
253  //- Cell zone renumbering
254  // For every preserved cell in zone give the old position.
255  // For added cells, the index is set to -1
256  labelListList cellZoneMap_;
257 
258  //- Pre-motion point positions.
259  // This specifies the correct way of blowing up zero-volume objects
260  const pointField preMotionPoints_;
261 
262  //- List of the old patch sizes
263  labelList oldPatchSizes_;
264 
265  //- List of the old patch start labels
266  const labelList oldPatchStarts_;
267 
268  //- List of numbers of mesh points per old patch
269  labelList oldPatchNMeshPoints_;
270 
271  //- Optional old cell volumes (for mapping)
272  autoPtr<scalarField> oldCellVolumesPtr_;
273 
274 
275  // Private Member Functions
276 
277  //- No copy construct
278  mapPolyMesh(const mapPolyMesh&) = delete;
279 
280  //- No copy assignment
281  void operator=(const mapPolyMesh&) = delete;
282 
283 
284 public:
285 
286  // Constructors
287 
288  //- Construct from mesh
289  mapPolyMesh(const polyMesh& mesh);
290 
291  //- Construct from components. Copy (except for oldCellVolumes).
293  (
294  const polyMesh& mesh,
295  const label nOldPoints,
296  const label nOldFaces,
297  const label nOldCells,
298  const labelList& pointMap,
299  const List<objectMap>& pointsFromPoints,
300  const labelList& faceMap,
301  const List<objectMap>& facesFromPoints,
302  const List<objectMap>& facesFromEdges,
303  const List<objectMap>& facesFromFaces,
304  const labelList& cellMap,
305  const List<objectMap>& cellsFromPoints,
306  const List<objectMap>& cellsFromEdges,
307  const List<objectMap>& cellsFromFaces,
308  const List<objectMap>& cellsFromCells,
309  const labelList& reversePointMap,
310  const labelList& reverseFaceMap,
311  const labelList& reverseCellMap,
312  const labelHashSet& flipFaceFlux,
317  const labelListList& cellZoneMap,
319  const labelList& oldPatchStarts,
321  const autoPtr<scalarField>& oldCellVolumesPtr
322  );
323 
324  //- Construct from components and optionally reuse storage
326  (
327  const polyMesh& mesh,
328  const label nOldPoints,
329  const label nOldFaces,
330  const label nOldCells,
332  List<objectMap>& pointsFromPoints,
334  List<objectMap>& facesFromPoints,
335  List<objectMap>& facesFromEdges,
336  List<objectMap>& facesFromFaces,
338  List<objectMap>& cellsFromPoints,
339  List<objectMap>& cellsFromEdges,
340  List<objectMap>& cellsFromFaces,
341  List<objectMap>& cellsFromCells,
354  autoPtr<scalarField>& oldCellVolumesPtr,
355  const bool reuse
356  );
357 
358  // Member Functions
359 
360  // Access
361 
362  //- Return polyMesh
363  const polyMesh& mesh() const
364  {
365  return mesh_;
366  }
367 
368  //- Number of old points
369  label nOldPoints() const
370  {
371  return nOldPoints_;
372  }
373 
374  //- Number of old internal faces
375  label nOldInternalFaces() const
376  {
377  return oldPatchStarts_[0];
378  }
379 
380  //- Number of old faces
381  label nOldFaces() const
382  {
383  return nOldFaces_;
384  }
385 
386  //- Number of old cells
387  label nOldCells() const
388  {
389  return nOldCells_;
390  }
391 
392  //- Old point map.
393  // Contains the old point label for all new points.
394  // For preserved points this is the old point label.
395  // For added points this is the master point ID
396  const labelList& pointMap() const
397  {
398  return pointMap_;
399  }
400 
401  //- Points originating from points
402  const List<objectMap>& pointsFromPointsMap() const
403  {
404  return pointsFromPointsMap_;
405  }
406 
407  //- Old face map.
408  // Contains a list of old face labels for every new face.
409  // Warning: this map contains invalid entries for new faces
410  const labelList& faceMap() const
411  {
412  return faceMap_;
413  }
414 
415  //- Faces inflated from points
416  const List<objectMap>& facesFromPointsMap() const
417  {
418  return facesFromPointsMap_;
419  }
420 
421  //- Faces inflated from edges
422  const List<objectMap>& facesFromEdgesMap() const
423  {
424  return facesFromEdgesMap_;
425  }
426 
427  //- Faces originating from faces
428  const List<objectMap>& facesFromFacesMap() const
429  {
430  return facesFromFacesMap_;
431  }
432 
433  //- Old cell map.
434  // Contains old cell label for all preserved cells.
435  const labelList& cellMap() const
436  {
437  return cellMap_;
438  }
439 
440  //- Cells inflated from points
441  const List<objectMap>& cellsFromPointsMap() const
442  {
443  return cellsFromPointsMap_;
444  }
445 
446  //- Cells inflated from edges
447  const List<objectMap>& cellsFromEdgesMap() const
448  {
449  return cellsFromEdgesMap_;
450  }
451 
452  //- Cells inflated from faces
453  const List<objectMap>& cellsFromFacesMap() const
454  {
455  return cellsFromFacesMap_;
456  }
457 
458  //- Cells originating from cells
459  const List<objectMap>& cellsFromCellsMap() const
460  {
461  return cellsFromCellsMap_;
462  }
463 
464 
465  // Reverse maps
466 
467  //- Reverse point map
468  // Contains new point label for all old and added points
469  const labelList& reversePointMap() const
470  {
471  return reversePointMap_;
472  }
473 
474  //- If point is removed return point (on new mesh) it merged
475  // into
476  label mergedPoint(const label oldPointi) const
477  {
478  label i = reversePointMap_[oldPointi];
479 
480  if (i == -1)
481  {
482  return i;
483  }
484  else if (i < -1)
485  {
486  return -i-2;
487  }
488  else
489  {
491  << "old point label " << oldPointi
492  << " has reverseMap " << i << endl
493  << "Only call mergedPoint for removed points."
494  << abort(FatalError);
495  return -1;
496  }
497  }
498 
499  //- Reverse face map
500  // Contains new face label for all old and added faces
501  const labelList& reverseFaceMap() const
502  {
503  return reverseFaceMap_;
504  }
505 
506  //- If face is removed return face (on new mesh) it merged into
507  label mergedFace(const label oldFacei) const
508  {
509  label i = reverseFaceMap_[oldFacei];
510 
511  if (i == -1)
512  {
513  return i;
514  }
515  else if (i < -1)
516  {
517  return -i-2;
518  }
519  else
520  {
522  << "old face label " << oldFacei
523  << " has reverseMap " << i << endl
524  << "Only call mergedFace for removed faces."
525  << abort(FatalError);
526  return -1;
527  }
528  }
529 
530  //- Reverse cell map
531  // Contains new cell label for all old and added cells
532  const labelList& reverseCellMap() const
533  {
534  return reverseCellMap_;
535  }
536 
537  //- If cell is removed return cell (on new mesh) it merged into
538  label mergedCell(const label oldCelli) const
539  {
540  label i = reverseCellMap_[oldCelli];
541 
542  if (i == -1)
543  {
544  return i;
545  }
546  else if (i < -1)
547  {
548  return -i-2;
549  }
550  else
551  {
553  << "old cell label " << oldCelli
554  << " has reverseMap " << i << endl
555  << "Only call mergedCell for removed cells."
556  << abort(FatalError);
557  return -1;
558  }
559  }
560 
561  //- Map of flipped face flux faces
562  const labelHashSet& flipFaceFlux() const
563  {
564  return flipFaceFlux_;
565  }
566 
567  //- Patch point renumbering
568  // For every preserved point on a patch give the old position.
569  // For added points, the index is set to -1
570  const labelListList& patchPointMap() const
571  {
572  return patchPointMap_;
573  }
574 
575 
576  // Zone mapping
577 
578  //- Point zone renumbering
579  // For every preserved point in zone give the old position.
580  // For added points, the index is set to -1
581  const labelListList& pointZoneMap() const
582  {
583  return pointZoneMap_;
584  }
585 
586  //- Face zone point renumbering
587  // For every preserved point in zone give the old position.
588  // For added points, the index is set to -1
589  const labelListList& faceZonePointMap() const
590  {
591  return faceZonePointMap_;
592  }
593 
594  //- Face zone face renumbering
595  // For every preserved face in zone give the old position.
596  // For added faces, the index is set to -1
597  const labelListList& faceZoneFaceMap() const
598  {
599  return faceZoneFaceMap_;
600  }
601 
602  //- Cell zone renumbering
603  // For every preserved cell in zone give the old position.
604  // For added cells, the index is set to -1
605  const labelListList& cellZoneMap() const
606  {
607  return cellZoneMap_;
608  }
609 
610  //- Pre-motion point positions.
611  // This specifies the correct way of blowing up
612  // zero-volume objects
613  const pointField& preMotionPoints() const
614  {
615  return preMotionPoints_;
616  }
617 
618  //- Has valid preMotionPoints?
619  bool hasMotionPoints() const
620  {
621  return preMotionPoints_.size() > 0;
622  }
623 
624 
625  //- Return list of the old patch sizes
626  const labelList& oldPatchSizes() const
627  {
628  return oldPatchSizes_;
629  }
630 
631  //- Return list of the old patch start labels
632  const labelList& oldPatchStarts() const
633  {
634  return oldPatchStarts_;
635  }
636 
637  //- Return numbers of mesh points per old patch
638  const labelList& oldPatchNMeshPoints() const
639  {
640  return oldPatchNMeshPoints_;
641  }
642 
643 
644  // Geometric mapping data
645 
646  bool hasOldCellVolumes() const
647  {
648  return oldCellVolumesPtr_.valid();
649  }
650 
651  const scalarField& oldCellVolumes() const
652  {
653  return *oldCellVolumesPtr_;
654  }
655 
656 };
657 
658 
659 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
660 
661 } // End namespace Foam
662 
663 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
664 
665 #endif
666 
667 // ************************************************************************* //
Foam::mapPolyMesh::facesFromPointsMap
const List< objectMap > & facesFromPointsMap() const
Faces inflated from points.
Definition: mapPolyMesh.H:415
Foam::mapPolyMesh::faceZonePointMap
const labelListList & faceZonePointMap() const
Face zone point renumbering.
Definition: mapPolyMesh.H:588
Foam::labelList
List< label > labelList
A List of labels.
Definition: List.H:74
Foam::pointField
vectorField pointField
pointField is a vectorField.
Definition: pointFieldFwd.H:44
Foam::mapPolyMesh::flipFaceFlux
const labelHashSet & flipFaceFlux() const
Map of flipped face flux faces.
Definition: mapPolyMesh.H:561
Foam::mapPolyMesh::pointsFromPointsMap
const List< objectMap > & pointsFromPointsMap() const
Points originating from points.
Definition: mapPolyMesh.H:401
Foam::mapPolyMesh::oldPatchNMeshPoints
const labelList & oldPatchNMeshPoints() const
Return numbers of mesh points per old patch.
Definition: mapPolyMesh.H:637
Foam::mapPolyMesh::mergedFace
label mergedFace(const label oldFacei) const
If face is removed return face (on new mesh) it merged into.
Definition: mapPolyMesh.H:506
Foam::mapPolyMesh::mergedCell
label mergedCell(const label oldCelli) const
If cell is removed return cell (on new mesh) it merged into.
Definition: mapPolyMesh.H:537
Foam::mapPolyMesh::cellsFromPointsMap
const List< objectMap > & cellsFromPointsMap() const
Cells inflated from points.
Definition: mapPolyMesh.H:440
Foam::mapPolyMesh::nOldFaces
label nOldFaces() const
Number of old faces.
Definition: mapPolyMesh.H:380
Foam::autoPtr::valid
bool valid() const noexcept
True if the managed pointer is non-null.
Definition: autoPtrI.H:107
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:337
Foam::mapPolyMesh::oldPatchSizes
const labelList & oldPatchSizes() const
Return list of the old patch sizes.
Definition: mapPolyMesh.H:625
Foam::mapPolyMesh::preMotionPoints
const pointField & preMotionPoints() const
Pre-motion point positions.
Definition: mapPolyMesh.H:612
Foam::mapPolyMesh::mergedPoint
label mergedPoint(const label oldPointi) const
If point is removed return point (on new mesh) it merged.
Definition: mapPolyMesh.H:475
Foam::mapPolyMesh::cellZoneMap
const labelListList & cellZoneMap() const
Cell zone renumbering.
Definition: mapPolyMesh.H:604
Foam::HashSet< label, Hash< label > >
Foam::polyMesh
Mesh consisting of general polyhedral cells.
Definition: polyMesh.H:77
Map.H
Foam::label
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:62
labelList.H
Foam::Field< vector >
Foam::mapPolyMesh::nOldPoints
label nOldPoints() const
Number of old points.
Definition: mapPolyMesh.H:368
Foam::mapPolyMesh::facesFromEdgesMap
const List< objectMap > & facesFromEdgesMap() const
Faces inflated from edges.
Definition: mapPolyMesh.H:421
Foam::mapPolyMesh::facesFromFacesMap
const List< objectMap > & facesFromFacesMap() const
Faces originating from faces.
Definition: mapPolyMesh.H:427
HashSet.H
Foam::mapPolyMesh::cellsFromEdgesMap
const List< objectMap > & cellsFromEdgesMap() const
Cells inflated from edges.
Definition: mapPolyMesh.H:446
Foam::FatalError
error FatalError
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::abort
errorManip< error > abort(error &err)
Definition: errorManip.H:137
Foam::mapPolyMesh::oldCellVolumes
const scalarField & oldCellVolumes() const
Definition: mapPolyMesh.H:650
Foam::mapPolyMesh::reverseFaceMap
const labelList & reverseFaceMap() const
Reverse face map.
Definition: mapPolyMesh.H:500
pointField.H
Foam::mapPolyMesh::patchPointMap
const labelListList & patchPointMap() const
Patch point renumbering.
Definition: mapPolyMesh.H:569
Foam::autoPtr
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: HashPtrTable.H:53
Foam::labelListList
List< labelList > labelListList
A List of labelList.
Definition: labelList.H:56
Foam::mapPolyMesh::reverseCellMap
const labelList & reverseCellMap() const
Reverse cell map.
Definition: mapPolyMesh.H:531
FatalErrorInFunction
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Definition: error.H:355
Foam::mapPolyMesh::reversePointMap
const labelList & reversePointMap() const
Reverse point map.
Definition: mapPolyMesh.H:468
Foam::mapPolyMesh::oldPatchStarts
const labelList & oldPatchStarts() const
Return list of the old patch start labels.
Definition: mapPolyMesh.H:631
Foam::List< label >
Foam::mapPolyMesh::pointMap
const labelList & pointMap() const
Old point map.
Definition: mapPolyMesh.H:395
Foam::mapPolyMesh::nOldCells
label nOldCells() const
Number of old cells.
Definition: mapPolyMesh.H:386
Foam::mapPolyMesh::faceZoneFaceMap
const labelListList & faceZoneFaceMap() const
Face zone face renumbering.
Definition: mapPolyMesh.H:596
Foam::mapPolyMesh::faceMap
const labelList & faceMap() const
Old face map.
Definition: mapPolyMesh.H:409
Foam::mapPolyMesh::hasOldCellVolumes
bool hasOldCellVolumes() const
Definition: mapPolyMesh.H:645
Foam::mapPolyMesh::cellsFromFacesMap
const List< objectMap > & cellsFromFacesMap() const
Cells inflated from faces.
Definition: mapPolyMesh.H:452
Foam::mapPolyMesh
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Definition: mapPolyMesh.H:160
Foam::mapPolyMesh::hasMotionPoints
bool hasMotionPoints() const
Has valid preMotionPoints?
Definition: mapPolyMesh.H:618
Foam::mapPolyMesh::nOldInternalFaces
label nOldInternalFaces() const
Number of old internal faces.
Definition: mapPolyMesh.H:374
Foam::mapPolyMesh::mesh
const polyMesh & mesh() const
Return polyMesh.
Definition: mapPolyMesh.H:362
objectMap.H
Foam::mapPolyMesh::cellMap
const labelList & cellMap() const
Old cell map.
Definition: mapPolyMesh.H:434
Foam::mapPolyMesh::cellsFromCellsMap
const List< objectMap > & cellsFromCellsMap() const
Cells originating from cells.
Definition: mapPolyMesh.H:458
Foam::mapPolyMesh::pointZoneMap
const labelListList & pointZoneMap() const
Point zone renumbering.
Definition: mapPolyMesh.H:580