ensure that fix efield is initialized before accessing its data.
This commit is contained in:
@ -200,9 +200,7 @@ void FixEfield::init()
|
||||
error->all(FLERR,"Fix efield with dipoles cannot use atom-style variables");
|
||||
|
||||
if (muflag && update->whichflag == 2 && comm->me == 0)
|
||||
error->warning(FLERR,
|
||||
"The minimizer does not re-orient dipoles "
|
||||
"when using fix efield");
|
||||
error->warning(FLERR, "The minimizer does not re-orient dipoles when using fix efield");
|
||||
|
||||
if (varflag == CONSTANT && estyle != NONE)
|
||||
error->all(FLERR,"Cannot use variable energy with "
|
||||
|
||||
Reference in New Issue
Block a user