git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11627 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -553,9 +553,11 @@ void LAMMPS::create()
|
||||
else comm = new Comm(this);
|
||||
|
||||
if (cuda) neighbor = new NeighborCuda(this);
|
||||
else if (kokkos) neighbor = new NeighborKokkos(this);
|
||||
else neighbor = new Neighbor(this);
|
||||
|
||||
if (cuda) domain = new DomainCuda(this);
|
||||
else if (kokkos) domain = new DomainKokkos(this);
|
||||
#ifdef LMP_USER_OMP
|
||||
else domain = new DomainOMP(this);
|
||||
#else
|
||||
@ -630,6 +632,7 @@ void LAMMPS::destroy()
|
||||
delete force;
|
||||
delete group;
|
||||
delete output;
|
||||
|
||||
delete modify; // modify must come after output, force, update
|
||||
// since they delete fixes
|
||||
delete domain; // domain must come after modify
|
||||
|
||||
Reference in New Issue
Block a user