48 #include "MueLu_Utilities.hpp"
77 typedef std::string::value_type char_t;
78 typedef std::ctype<char_t> facet_type;
79 const facet_type& facet = std::use_facet<facet_type> (std::locale ());
81 const std::string::size_type len = s.size ();
83 for (std::string::size_type k = 0; k < len; ++k) {
84 s_lc[k] = facet.tolower (s[k]);
91 std::map<std::string, MsgType> verbMap;
93 verbMap[
"errors"] =
Errors;
110 verbMap[
"debug"] =
Debug;
111 verbMap[
"test"] =
Test;
118 verbMap[
"test"] =
Test;
120 verbMap[
"none"] =
None;
121 verbMap[
"low"] =
Low;
122 verbMap[
"medium"] =
Medium;
123 verbMap[
"high"] =
High;
126 std::string lcVerb =
lowerCase(verbLevelStr);
127 if (verbMap.find(lcVerb) != verbMap.end())
128 return verbMap[lcVerb];
Important warning messages (one line)
High level timing information (use Teuchos::TimeMonitor::summarize() to print)
Print external lib objects.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
VerbLevel toMueLuVerbLevel(const Teuchos::EVerbosityLevel verbLevel)
Print additional debugging information.
One-liner description of what is happening.
MsgType toVerbLevel(const std::string &verbLevelStr)
Important warning messages (more verbose)
Print statistics that do not involve significant additional computation.
Detailed timing information (use Teuchos::TimeMonitor::summarize() to print)
By default, enabled timers appears in the teuchos time monitor summary. Use this option if you do not...
Print all timing information.
Timers that are enabled (using Timings0/Timings1) will be printed during the execution.
std::string lowerCase(const std::string &s)
Record timing information level by level. Must be used in combinaison with Timings0/Timings1.
Print description of what is going on.
Print class parameters (more parameters, more verbose)
Exception throws to report errors in the internal logical of the program.
Print all warning messages.
Description of what is happening (more verbose)