Class containing mesh-to-mesh mapping information after a patch change operation. More...
#include <OpenFOAM/mapPatchChange.H>
Class containing mesh-to-mesh mapping information after a patch change operation.
Definition at line 49 of file mapPatchChange.H.
Public Member Functions | |
mapPatchChange (const label nOldPatches, const labelList &patchMap) | |
Construct from components.
| |
label | nOldPatches () const |
Number of old patches.
| |
const labelList & | patchMap () const |
Patch map. Size of current patches.
| |
labelList | addedPatches () const |
labels of added patches
| |
labelList | deletedPatches () const |
labels (on old mesh) of deleted patches
|
mapPatchChange | ( | const label | nOldPatches, |
const labelList & | patchMap | ||
) | [inline]
|
Construct from components.
Definition at line 64 of file mapPatchChange.H.
label nOldPatches | ( | ) | const [inline]
|
Number of old patches.
Definition at line 76 of file mapPatchChange.H.
const labelList& patchMap | ( | ) | const [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 85 of file mapPatchChange.H.
labelList addedPatches | ( | ) | const [inline]
|
labels of added patches
Definition at line 94 of file mapPatchChange.H.
References forAll, and List< T >::size().
labelList deletedPatches | ( | ) | const [inline]
|
labels (on old mesh) of deleted patches
Definition at line 112 of file mapPatchChange.H.
References forAll, and List< T >::setSize().