Global to local atom mapping.
Used for efficient mapping from global atom indices to local atom indices in the domain decomposition.
|
| gmx_ga2la_t (int numAtomsTotal, int numAtomsLocal) |
| Constructor. More...
|
|
void | insert (int a_gl, const Entry &value) |
| Inserts an entry, there should not already be an entry for a_gl . More...
|
|
void | erase (int a_gl) |
| Delete the entry for global atom a_gl.
|
|
const Entry * | find (int a_gl) const |
| Returns a pointer to the entry when present, nullptr otherwise.
|
|
const int * | findHome (int a_gl) const |
| Returns the local atom index if it is a home atom, nullptr otherwise.
|
|
Entry & | at (int a_gl) |
| Returns a reference to the entry for a_gl. More...
|
|
void | clear () |
| Clear all the entries in the list.
|
|