Fixed some compiler errors - the simulation seems to be off regarding how many ghost atoms are used -> some bugfixing might be needed
This commit is contained in:
parent
463de5b1ed
commit
7e8fd96fa4
@ -25,7 +25,7 @@
|
||||
|
||||
#ifndef __PBC_H_
|
||||
#define __PBC_H_
|
||||
extern void initPbc();
|
||||
extern void initPbc(Atom*);
|
||||
extern void updatePbc(Atom*, Parameter*);
|
||||
extern void updatePbc_cuda(Atom*, Parameter*, Atom*, bool, const int);
|
||||
extern void updateAtomsPbc(Atom*, Parameter*);
|
||||
|
@ -347,7 +347,7 @@ int main(int argc, char** argv)
|
||||
if(doReneighbour) {
|
||||
timer[NEIGH] += reneighbour(¶m, &atom, &neighbor, &c_atom, &c_neighbor, num_threads_per_block);
|
||||
} else {
|
||||
updatePbc(&atom, ¶m, &c_atom, false, num_threads_per_block);
|
||||
updatePbc_cuda(&atom, ¶m, &c_atom, false, num_threads_per_block);
|
||||
}
|
||||
|
||||
if(param.force_field == FF_EAM) {
|
||||
|
Loading…
Reference in New Issue
Block a user