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

Constructor & Destructor Documentation

◆ mapPatchChange()

mapPatchChange ( const label  nOldPatches,
const labelList patchMap 
)
inline

Construct from components.

Definition at line 65 of file mapPatchChange.H.

Member Function Documentation

◆ nOldPatches()

label nOldPatches ( ) const
inline

Number of old patches.

Definition at line 77 of file mapPatchChange.H.

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

◆ addedPatches()

labelList addedPatches ( ) const
inline

Labels of added patches.

Definition at line 95 of file mapPatchChange.H.

References forAll, List< T >::setSize(), and UList< 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 113 of file mapPatchChange.H.

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

Here is the call graph for this function:

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