#include <MeshPointIdToGlobalIdMap.hpp>

Public Member Functions | |
| MeshPointIdToGlobalIdMap () | |
| Constructor. More... | |
| ~MeshPointIdToGlobalIdMap () | |
| Destructor. More... | |
| bool | exists (const int meshPaneId, const int meshPointId) |
| Checks if the point meshPointId of the mesh associated with the provided meshPaneId exists in this MeshPointIdToGlobalIdMap instance. More... | |
| int | getGlobalId (const int meshPaneId, const int meshPointId) |
| Returns the assigned global id to meshPointId of the mesh associated with the provided meshPaneId. More... | |
| void | insert (const int meshPaneId, const int meshPointId, const int globalId) |
| This method constructs a new key-pair for the meshPaneId and meshPointId which maps into globalId and inserts it into the data-structure. More... | |
| int | size () const |
| Returns the size of the map. More... | |
Private Attributes | |
| std::map< std::pair< int, int > , int > | local2global |
Definition at line 19 of file MeshPointIdToGlobalIdMap.hpp.
|
inline |
Constructor.
Definition at line 30 of file MeshPointIdToGlobalIdMap.hpp.
|
inline |
Destructor.
Definition at line 35 of file MeshPointIdToGlobalIdMap.hpp.
|
inline |
Checks if the point meshPointId of the mesh associated with the provided meshPaneId exists in this MeshPointIdToGlobalIdMap instance.
| meshPaneId | the pane id of the mesh in query. |
| meshPointId | the local point id of the point in query. |
Definition at line 44 of file MeshPointIdToGlobalIdMap.hpp.
References MeshPointIdToGlobalIdMap::local2global.
Referenced by MeshPointIdToGlobalIdMap::insert().

|
inline |
Returns the assigned global id to meshPointId of the mesh associated with the provided meshPaneId.
| meshPaneId | the pane id of the mesh in query. |
| meshPointId | the point id of the mesh point in query. |
Definition at line 61 of file MeshPointIdToGlobalIdMap.hpp.
References MeshPointIdToGlobalIdMap::local2global.
Referenced by stitchSolutionData().

|
inline |
This method constructs a new key-pair for the meshPaneId and meshPointId which maps into globalId and inserts it into the data-structure.
| meshPaneId | the pane id of the mesh in query. |
| meshPointId | the point id of the mesh point in query. |
| globalId | the global id assigned to the point. |
Definition at line 80 of file MeshPointIdToGlobalIdMap.hpp.
References MeshPointIdToGlobalIdMap::exists().
Referenced by stitchGrids(), and updateHash().


|
inline |
Returns the size of the map.
Definition at line 108 of file MeshPointIdToGlobalIdMap.hpp.
|
private |
Definition at line 22 of file MeshPointIdToGlobalIdMap.hpp.
Referenced by MeshPointIdToGlobalIdMap::exists(), and MeshPointIdToGlobalIdMap::getGlobalId().