Cleaned up the changes in Device and the base class of the pair styles

This commit is contained in:
Trung Nguyen
2019-04-17 00:09:49 -05:00
parent c55009a0ac
commit 1f43efc111
8 changed files with 45 additions and 48 deletions

View File

@ -65,15 +65,12 @@ int BaseChargeT::init_atomic(const int nlocal, const int nall,
} else
_nbor_data=&(nbor->dev_nbor);
int success=device->init(*ans,true,false,nlocal,host_nlocal,nall,nbor,
maxspecial,_gpu_host,max_nbors,cell_size,false,
_threads_per_atom);
int success=device->init(*ans,true,false,nlocal,nall,maxspecial);
if (success!=0)
return success;
success = device->init_nbor(nbor,nlocal,host_nlocal,nall,maxspecial,_gpu_host,
max_nbors,cell_size,false,_threads_per_atom);
if (success!=0)
return success;