git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12463 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -83,8 +83,6 @@ FixGPU::FixGPU(LAMMPS *lmp, int narg, char **arg) :
|
|||||||
error->all(FLERR,"Cannot use GPU package with USER-CUDA package enabled");
|
error->all(FLERR,"Cannot use GPU package with USER-CUDA package enabled");
|
||||||
|
|
||||||
if (narg < 4) error->all(FLERR,"Illegal package gpu command");
|
if (narg < 4) error->all(FLERR,"Illegal package gpu command");
|
||||||
if (strcmp(arg[1],"all") != 0)
|
|
||||||
error->all(FLERR,"Illegal package gpu command");
|
|
||||||
|
|
||||||
int ngpu = atoi(arg[3]);
|
int ngpu = atoi(arg[3]);
|
||||||
if (ngpu <= 0) error->all(FLERR,"Illegal package gpu command");
|
if (ngpu <= 0) error->all(FLERR,"Illegal package gpu command");
|
||||||
|
|||||||
@ -861,10 +861,10 @@ int Modify::find_fix(const char *id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
check for fix associated with package name
|
check for fix associated with package name in compiled list
|
||||||
return 1 if found else 0
|
return 1 if found else 0
|
||||||
used to determine whether LAMMPS was built with
|
used to determine whether LAMMPS was built with
|
||||||
GPU, USER-INTEL, USER-OMP packages
|
GPU, USER-INTEL, USER-OMP packages, which have their own fixes
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
int Modify::check_package(const char *package_fix_name)
|
int Modify::check_package(const char *package_fix_name)
|
||||||
|
|||||||
Reference in New Issue
Block a user