MFEM  v4.3.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Namespaces | Functions
text.hpp File Reference

Go to the source code of this file.




void mfem::skip_comment_lines (std::istream &is, const char comment_char)
 Check if the stream starts with comment_char. If so skip it. More...
void mfem::filter_dos (std::string &line)
 Check for, and remove, a trailing '\r' from and std::string. More...
std::string mfem::to_padded_string (int i, int digits)
 Convert an integer to a 0-padded string with the given number of digits. More...
int mfem::to_int (const std::string &str)
 Convert a string to an int. More...