a few more converted commands and updates for unit tests
This commit is contained in:
@ -138,6 +138,10 @@ FixGPU::FixGPU(LAMMPS *lmp, int narg, char **arg) :
|
||||
if (iarg+2 > narg) error->all(FLERR,"Illegal package gpu command");
|
||||
if (strcmp(arg[iarg+1],"yes") == 0) _gpu_mode = GPU_NEIGH;
|
||||
else if (strcmp(arg[iarg+1],"no") == 0) _gpu_mode = GPU_FORCE;
|
||||
else if (strcmp(arg[iarg+1],"on") == 0) _gpu_mode = GPU_NEIGH;
|
||||
else if (strcmp(arg[iarg+1],"off") == 0) _gpu_mode = GPU_FORCE;
|
||||
else if (strcmp(arg[iarg+1],"true") == 0) _gpu_mode = GPU_NEIGH;
|
||||
else if (strcmp(arg[iarg+1],"false") == 0) _gpu_mode = GPU_FORCE;
|
||||
else if (strcmp(arg[iarg+1],"hybrid") == 0) _gpu_mode = GPU_HYB_NEIGH;
|
||||
else error->all(FLERR,"Illegal package gpu command");
|
||||
iarg += 2;
|
||||
|
||||
Reference in New Issue
Block a user