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

This commit is contained in:
sjplimp
2011-05-20 21:31:49 +00:00
parent dffb8b2a89
commit 2739d7ee1d

View File

@ -334,7 +334,9 @@ LAMMPS::~LAMMPS()
void LAMMPS::create()
{
atom = new Atom(this);
neighbor = new Neighbor(this);
if (accelerator == USERCUDA) neighbor = new NeighborCuda(this);
else neighbor = new Neighbor(this);
if (accelerator == USERCUDA) comm = new CommCuda(this);
else comm = new Comm(this);