make new warning more gentle
This commit is contained in:
@ -3230,7 +3230,7 @@ void FixBondReact::read(int myrxn)
|
|||||||
while (strlen(keyword)) {
|
while (strlen(keyword)) {
|
||||||
if (strcmp(keyword,"InitiatorIDs") == 0 || strcmp(keyword,"BondingIDs") == 0) {
|
if (strcmp(keyword,"InitiatorIDs") == 0 || strcmp(keyword,"BondingIDs") == 0) {
|
||||||
if (strcmp(keyword,"BondingIDs") == 0)
|
if (strcmp(keyword,"BondingIDs") == 0)
|
||||||
error->warning(FLERR,"Bond/react: The BondingIDs section title has been deprecated. Please use InitiatorIDs instead.");
|
if (me == 0) error->warning(FLERR,"Bond/react: The BondingIDs section title has been deprecated. Please use InitiatorIDs instead.");
|
||||||
bondflag = 1;
|
bondflag = 1;
|
||||||
readline(line);
|
readline(line);
|
||||||
sscanf(line,"%d",&ibonding[myrxn]);
|
sscanf(line,"%d",&ibonding[myrxn]);
|
||||||
|
|||||||
Reference in New Issue
Block a user