FreeFOAM The Cross-Platform CFD Toolkit
mapPatchChange Class Reference

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

#include <OpenFOAM/mapPatchChange.H>


Detailed Description

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

Source files

Definition at line 49 of file mapPatchChange.H.

List of all members.

Public Member Functions

 mapPatchChange (const label nOldPatches, const labelList &patchMap)
 Construct from components.
label nOldPatches () const
 Number of old patches.
const labelListpatchMap () const
 Patch map. Size of current patches.
labelList addedPatches () const
 labels of added patches
labelList deletedPatches () const
 labels (on old mesh) of deleted patches

Constructor & Destructor Documentation

mapPatchChange ( const label  nOldPatches,
const labelList patchMap 
)
inline

Construct from components.

Definition at line 64 of file mapPatchChange.H.


Member Function Documentation

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


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