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

Go to the source code of this file.

Namespaces

namespace  mfem
 

Functions

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