Class containing mesh-to-mesh mapping information after a patch change operation. More...
Public Member Functions | |
mapPatchChange (const label nOldPatches, const labelList &patchMap) | |
Construct from components. More... | |
label | nOldPatches () const |
Number of old patches. More... | |
const labelList & | patchMap () const |
Patch map. Size of current patches. More... | |
labelList | addedPatches () const |
Labels of added patches. More... | |
labelList | deletedPatches () const |
Labels (on old mesh) of deleted patches. More... | |
Private Attributes | |
const label | nOldPatches_ |
Old patches. More... | |
const labelList | patchMap_ |
Patch mapping array. More... | |
Class containing mesh-to-mesh mapping information after a patch change operation.
Definition at line 48 of file mapPatchChange.H.
|
inline |
Construct from components.
Definition at line 63 of file mapPatchChange.H.
|
inline |
Number of old patches.
Definition at line 75 of file mapPatchChange.H.
References mapPatchChange::nOldPatches_.
|
inline |
Patch map. Size of current patches.
-1 : patch was added >=0 : old position of patch any original patch which is not in the list has been deleted
Definition at line 84 of file mapPatchChange.H.
|
inline |
Labels of added patches.
Definition at line 93 of file mapPatchChange.H.
References forAll, mapPatchChange::patchMap_, List::setSize(), and List::size().
|
inline |
Labels (on old mesh) of deleted patches.
Definition at line 111 of file mapPatchChange.H.
References forAll, mapPatchChange::nOldPatches_, mapPatchChange::patchMap_, and List::setSize().
|
private |
Old patches.
Definition at line 53 of file mapPatchChange.H.
Referenced by mapPatchChange::deletedPatches(), and mapPatchChange::nOldPatches().
|
private |
Patch mapping array.
Definition at line 56 of file mapPatchChange.H.
Referenced by mapPatchChange::addedPatches(), and mapPatchChange::deletedPatches().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.