Refactor half neighbor lists code

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti
2022-03-18 01:28:11 +01:00
parent 5df544637f
commit e7737e9151
5 changed files with 33 additions and 56 deletions

View File

@@ -28,10 +28,10 @@
typedef struct {
int every;
int ncalls;
int* neighbors;
int maxneighs;
int half_neigh;
int* neighbors;
int* numneigh;
int halfneigh;
} Neighbor;
extern void initNeighbor(Neighbor*, Parameter*);