mapPatchChange Class Reference

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 labelListpatchMap () 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...
 

Detailed Description

Class containing mesh-to-mesh mapping information after a patch change operation.

Source files

Definition at line 48 of file mapPatchChange.H.

Constructor & Destructor Documentation

◆ mapPatchChange()

mapPatchChange ( const label  nOldPatches,
const labelList patchMap 
)
inline

Construct from components.

Definition at line 63 of file mapPatchChange.H.

Member Function Documentation

◆ nOldPatches()

label nOldPatches ( ) const
inline

Number of old patches.

Definition at line 75 of file mapPatchChange.H.

References mapPatchChange::patchMap().

Here is the call graph for this function:

◆ patchMap()

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 84 of file mapPatchChange.H.

Referenced by mapPatchChange::nOldPatches().

Here is the caller graph for this function:

◆ addedPatches()

labelList addedPatches ( ) const
inline

Labels of added patches.

Definition at line 93 of file mapPatchChange.H.

References forAll, patchi, and List< T >::size().

Here is the call graph for this function:

◆ deletedPatches()

labelList deletedPatches ( ) const
inline

Labels (on old mesh) of deleted patches.

Definition at line 111 of file mapPatchChange.H.

References forAll, patchi, and List< T >::setSize().

Here is the call graph for this function:

The documentation for this class was generated from the following file: