Merge branch 'master' into collected-small-changes

This commit is contained in:
Axel Kohlmeyer
2020-07-31 21:51:10 -04:00
17 changed files with 804 additions and 212 deletions

View File

@ -143,6 +143,13 @@ namespace LAMMPS_NS {
tagint tnumeric(const char *file, int line, const char *str,
bool do_abort, LAMMPS *lmp);
/**
* \brief Trim leading and trailing whitespace. Like TRIM() in Fortran.
* \param line string that should be trimmed
* \return new string without whitespace (string)
*/
std::string trim(const std::string &line);
/**
* \brief Trim anything from '#' onward
* \param line string that should be trimmed