Merge remote-tracking branch 'github/develop' into collected-small-changes

This commit is contained in:
Axel Kohlmeyer
2025-06-14 05:20:05 -04:00

View File

@ -4238,6 +4238,8 @@ void FixBondReact::CreateAtoms(char *line, int myrxn)
} }
if (twomol->xflag == 0) if (twomol->xflag == 0)
error->one(FLERR,"Fix bond/react: 'Coords' section required in post-reaction template when creating new atoms"); error->one(FLERR,"Fix bond/react: 'Coords' section required in post-reaction template when creating new atoms");
if (atom->rmass_flag && !twomol->rmassflag)
error->one(FLERR, "Fix bond/react: 'Masses' section required in post-reaction template when creating new atoms if per-atom masses are defined.");
} }
void FixBondReact::CustomCharges(int ifragment, int myrxn) void FixBondReact::CustomCharges(int ifragment, int myrxn)