don't throw an error when reading QEq parameters from file

This commit is contained in:
Axel Kohlmeyer
2024-06-19 18:25:35 -04:00
parent 71c5e04121
commit 8d69bd77ef

View File

@ -233,6 +233,8 @@ void FixQEqReaxFF::pertype_parameters(char *arg)
return;
} else if (utils::strmatch(arg,"^reax/c")) {
error->all(FLERR, "Fix qeq/reaxff keyword 'reax/c' is obsolete; please use 'reaxff'");
} else if (platform::file_is_readable(arg)) {
; // arg is readable file. will read below
} else {
error->all(FLERR, "Unknown fix qeq/reaxff keyword {}", arg);
}