Gromacs
2018.8
|
#include <gromacs/domdec/hash.h>
Hashing helper struct.
Public Attributes | |
int | mod |
Keys are looked up by first checking array index keymod in hash. | |
int | mask |
mask=log2(mod), used to replace a % by the faster & operation | |
int | nalloc |
Allocated size of hash. | |
gmx_hash_e_t * | hash |
The actual array containing the keys, values and next indices. | |
int | nkey |
The number of keys stored. | |
int | start_space_search |
Index in hash where we should start searching for space to store a new key/value. | |