flag error if using INTEL package kspace styles with run style verlet/split

This commit is contained in:
Axel Kohlmeyer
2023-12-22 13:37:20 -05:00
parent c434b96a9b
commit 66930a4e5c

View File

@ -551,6 +551,9 @@ void FixIntel::kspace_init_check()
if (intel_pair == 0)
error->all(FLERR,"Intel styles for kspace require intel pair style.");
if (utils::strmatch(update->integrate_style, "^verlet/split"))
error->all(FLERR,"Intel styles for kspace are not compatible with run_style verlet/split");
}
/* ---------------------------------------------------------------------- */