Gromacs
2019-beta2
|
#include <gromacs/domdec/localatomsetmanager.h>
Hands out handles to local atom set indices and triggers index recalculation for all sets upon domain decomposition if run in parallel.
Public Member Functions | |
LocalAtomSet | add (ArrayRef< const int > globalAtomIndex) |
Add a new atom set to be managed and give back a handle. More... | |
void | setIndicesInDomainDecomposition (const gmx_ga2la_t &ga2la) |
Recalculate local and collective indices from ga2la. Uses global atom to local atom lookup structure to update atom indices. | |
LocalAtomSet gmx::LocalAtomSetManager::add | ( | ArrayRef< const int > | globalAtomIndex | ) |
Add a new atom set to be managed and give back a handle.
[in] | globalAtomIndex | Indices of the atoms to be managed |