Go to the documentation of this file.
35 #ifndef mapPatchChange_H
36 #define mapPatchChange_H
104 added[addedI++] = patchI;
129 forAll(oldToNew, oldPatchI)
131 if (oldToNew[oldPatchI] == -1)
133 oldToNew[deletedI++] = oldPatchI;
mapPatchChange(const label nOldPatches, const labelList &patchMap)
Construct from components.
#define forAll(list, i)
Loop across all elements in list.
Class containing mesh-to-mesh mapping information after a patch change operation.
const labelList patchMap_
Patch mapping array.
label nOldPatches() const
Number of old patches.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
labelList deletedPatches() const
Labels (on old mesh) of deleted patches.
void setSize(const label)
Reset size of List.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const label nOldPatches_
Old patches.
const labelList & patchMap() const
Patch map. Size of current patches.
void size(const label)
Override size to be inconsistent with allocated storage.
labelList addedPatches() const
Labels of added patches.