fix spelling in a few more files

This commit is contained in:
Axel Kohlmeyer
2020-06-11 01:05:58 -04:00
parent 81d937ee97
commit 9945f73743
5 changed files with 17 additions and 17 deletions

View File

@ -153,18 +153,18 @@ namespace LAMMPS_NS {
/**
* \brief Count words in string
* \param text string that should be searched
* \param seperators string containing characters that will be treated as whitespace
* \param separators string containing characters that will be treated as whitespace
* \return number of words found
*/
size_t count_words(const std::string & text, const std::string & seperators = " \t\r\n\f");
size_t count_words(const std::string & text, const std::string & separators = " \t\r\n\f");
/**
* \brief Count words in a single line, trim anything from '#' onward
* \param text string that should be trimmed and searched
* \param seperators string containing characters that will be treated as whitespace
* \param separators string containing characters that will be treated as whitespace
* \return number of words found
*/
size_t trim_and_count_words(const std::string & text, const std::string & seperators = " \t\r\n\f");
size_t trim_and_count_words(const std::string & text, const std::string & separators = " \t\r\n\f");
/**
* \brief Check if string can be converted to valid integer