pimdb works only in method pimd
This commit is contained in:
@ -50,11 +50,8 @@ FixPIMDBLangevin::FixPIMDBLangevin(LAMMPS *lmp, int narg, char **arg) :
|
|||||||
bosonic_exchange(lmp, atom->nlocal, np, universe->me,
|
bosonic_exchange(lmp, atom->nlocal, np, universe->me,
|
||||||
false)
|
false)
|
||||||
{
|
{
|
||||||
|
if (method != PIMD) {
|
||||||
// TODO: update, ensure consistency with PIMDB
|
error->universe_all(FLERR, "Method not supported in fix pimdb/langevin; only method PIMD");
|
||||||
|
|
||||||
if (method == CMD) {
|
|
||||||
error->universe_all(FLERR, "Method cmd not supported in fix pimdb");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nbosons = atom->nlocal;
|
nbosons = atom->nlocal;
|
||||||
|
|||||||
Reference in New Issue
Block a user