git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6191 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -334,7 +334,9 @@ LAMMPS::~LAMMPS()
|
|||||||
void LAMMPS::create()
|
void LAMMPS::create()
|
||||||
{
|
{
|
||||||
atom = new Atom(this);
|
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);
|
if (accelerator == USERCUDA) comm = new CommCuda(this);
|
||||||
else comm = new Comm(this);
|
else comm = new Comm(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user