init_atomic with new pair name
This commit is contained in:
@ -75,7 +75,7 @@ int DPDChargedT::init(const int ntypes,
|
|||||||
int success;
|
int success;
|
||||||
bool need_charges = true;
|
bool need_charges = true;
|
||||||
success=this->init_atomic(nlocal,nall,max_nbors,maxspecial,cell_size,
|
success=this->init_atomic(nlocal,nall,max_nbors,maxspecial,cell_size,
|
||||||
gpu_split,_screen,dpd_charged,"k_dpd_charged",onetype, extra_fields, need_charges);
|
gpu_split,_screen,dpd_coul_slater_long,"k_dpd_charged",onetype, extra_fields, need_charges);
|
||||||
|
|
||||||
if (success!=0)
|
if (success!=0)
|
||||||
return success;
|
return success;
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#ifdef PAIR_CLASS
|
#ifdef PAIR_CLASS
|
||||||
// clang-format off
|
// clang-format off
|
||||||
PairStyle(dpd/coul/slater/long,PairDPDChargedGPU);
|
PairStyle(dpd/coul/slater/long/gpu,PairDPDChargedGPU);
|
||||||
// clang-format on
|
// clang-format on
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user