git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15080 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -85,16 +85,6 @@ Update::~Update()
|
||||
|
||||
void Update::init()
|
||||
{
|
||||
// if USER-CUDA mode is enabled:
|
||||
// integrate/minimize style must be CUDA variant
|
||||
|
||||
if (whichflag == 1 && lmp->cuda)
|
||||
if (strstr(integrate_style,"cuda") == NULL)
|
||||
error->all(FLERR,"USER-CUDA mode requires CUDA variant of run style");
|
||||
if (whichflag == 2 && lmp->cuda)
|
||||
if (strstr(minimize_style,"cuda") == NULL)
|
||||
error->all(FLERR,"USER-CUDA mode requires CUDA variant of min style");
|
||||
|
||||
// init the appropriate integrate and/or minimize class
|
||||
// if neither (e.g. from write_restart) then just return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user