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

This commit is contained in:
sjplimp
2016-06-06 23:21:39 +00:00
parent 1a52795e1d
commit 0f3e4182e8
67 changed files with 236 additions and 151 deletions

View File

@ -116,9 +116,9 @@ void Replicate::command(int narg, char **arg)
// also set atomKK for Kokkos version of Atom class
Atom *old = atom;
if (lmp->kokkos) atom = new AtomKokkos(lmp);
atomKK = NULL;
if (lmp->kokkos) atom = atomKK = new AtomKokkos(lmp);
else atom = new Atom(lmp);
atomKK = (AtomKokkos*) atom;
atom->settings(old);
atom->create_avec(old->atom_style,old->avec->nargcopy,old->avec->argcopy,0);