Merge branch 'develop' into safer-data-file-parsing

This commit is contained in:
Axel Kohlmeyer
2022-04-22 23:13:39 -04:00
54 changed files with 464 additions and 221 deletions

View File

@ -143,6 +143,11 @@ void utils::fmtargs_logmesg(LAMMPS *lmp, fmt::string_view format, fmt::format_ar
}
}
std::string utils::errorurl(int errorcode)
{
return fmt::format("\nFor more information see https://docs.lammps.org/err{:04d}", errorcode);
}
void utils::flush_buffers(LAMMPS *lmp)
{
if (lmp->screen) fflush(lmp->screen);