12 #include "MueLu_Utilities.hpp"
39 typedef std::string::value_type char_t;
40 typedef std::ctype<char_t> facet_type;
41 const facet_type& facet = std::use_facet<facet_type>(std::locale());
43 const std::string::size_type len = s.size();
45 for (std::string::size_type k = 0; k < len; ++k) {
46 s_lc[k] = facet.tolower(s[k]);
53 std::map<std::string, MsgType> verbMap;
55 verbMap[
"errors"] =
Errors;
73 verbMap[
"debug"] =
Debug;
74 verbMap[
"test"] =
Test;
81 verbMap[
"test"] =
Test;
84 verbMap[
"none"] =
None;
86 verbMap[
"medium"] =
Medium;
87 verbMap[
"high"] =
High;
90 std::string lcVerb =
lowerCase(verbLevelStr);
91 if (verbMap.find(lcVerb) != verbMap.end())
92 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)
Print information primarily of interest to developers.
VerbLevel toMueLuVerbLevel(const Teuchos::EVerbosityLevel verbLevel)
Translate Teuchos verbosity level to MueLu verbosity level.
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)