a few more converted commands and updates for unit tests

This commit is contained in:
Axel Kohlmeyer
2021-09-21 16:53:07 -04:00
parent c3d34e8656
commit 914f035475
13 changed files with 106 additions and 140 deletions

View File

@ -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;