#ifndef _nbnxn_pairlist_h
#define _nbnxn_pairlist_h
-#include "nblist.h"
+#include "thread_mpi/atomic.h"
+#include "types/nblist.h"
#ifdef __cplusplus
extern "C" {
*/
} nbnxn_excl_t;
-typedef struct {
+typedef struct nbnxn_pairlist_t {
gmx_cache_protect_t cp0;
nbnxn_alloc_t *alloc;
ljcrGEOM, ljcrLB, ljcrNONE, ljcrNR
};
-/* TODO: Remove need for forward declare */
-struct tMPI_Atomic;
-
-typedef struct {
+typedef struct nbnxn_atomdata_t {
nbnxn_alloc_t *alloc;
nbnxn_free_t *free;
int ntype; /* The number of different atom types */
gmx_bool bUseBufferFlags; /* Use the flags or operate on all atoms */
nbnxn_buffer_flags_t buffer_flags; /* Flags for buffer zeroing+reduc. */
gmx_bool bUseTreeReduce; /* Use tree for force reduction */
- struct tMPI_Atomic *syncStep; /* Synchronization step for tree reduce */
+ tMPI_Atomic_t *syncStep; /* Synchronization step for tree reduce */
} nbnxn_atomdata_t;
#ifdef __cplusplus