Merge branch 'master' of github.com:alxvov/lammps into OSO
This commit is contained in:
@ -71,6 +71,8 @@ Min::Min(LAMMPS *lmp) : Pointers(lmp)
|
||||
requestor = NULL;
|
||||
|
||||
external_force_clear = 0;
|
||||
|
||||
kokkosable = 0;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
@ -96,6 +98,10 @@ Min::~Min()
|
||||
|
||||
void Min::init()
|
||||
{
|
||||
if (lmp->kokkos && !kokkosable)
|
||||
error->all(FLERR,"Must use a Kokkos-enabled min style (e.g. min_style cg/kk) "
|
||||
"with Kokkos minimize");
|
||||
|
||||
// create fix needed for storing atom-based quantities
|
||||
// will delete it at end of run
|
||||
|
||||
|
||||
Reference in New Issue
Block a user