Refactor. Fix bug in atom initialization.
This commit is contained in:
@@ -36,6 +36,7 @@ typedef struct {
|
||||
double *fx, *fy, *fz;
|
||||
} Atom;
|
||||
|
||||
extern void initAtom(Atom*);
|
||||
extern void createAtom(Atom*, Parameter*);
|
||||
extern void growAtom(Atom*);
|
||||
#endif
|
||||
|
@@ -39,7 +39,7 @@ typedef struct {
|
||||
} Neighbor;
|
||||
|
||||
extern void initNeighbor(Neighbor*, Parameter*);
|
||||
extern void setupNeighbor(Parameter*);
|
||||
extern void setupNeighbor();
|
||||
extern void binatoms(Atom*);
|
||||
extern void buildNeighbor(Atom*, Neighbor*);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user