git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11627 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2014-03-12 16:37:16 +00:00
parent 039af550a0
commit 5bdd5c3c25
16 changed files with 173 additions and 82 deletions

View File

@ -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