Gromacs  2018.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Attributes
gmx_hash_t Struct Reference

#include <gromacs/domdec/hash.h>

+ Collaboration diagram for gmx_hash_t:

Description

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_thash
 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.
 

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