MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_VerbosityLevel.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // MueLu: A package for multigrid based preconditioning
4 //
5 // Copyright 2012 NTESS and the MueLu contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef MUELU_VERBOSITYLEVEL_HPP
11 #define MUELU_VERBOSITYLEVEL_HPP
12 
14 
15 namespace MueLu {
16 
17 enum MsgType {
18  Errors = 0x00000001,
19 
20  Warnings0 = 0x00000010,
21  Warnings00 = 0x00000020,
22  Warnings1 = 0x00000040,
23  PerfWarnings = 0x00000080,
24 
25  Runtime0 = 0x00000100,
26  Runtime1 = 0x00000200,
27  RuntimeTimings = 0x00000400,
28  NoTimeReport = 0x00000800,
29 
30  Parameters0 = 0x00001000,
31  Parameters1 = 0x00002000,
32 
33  Statistics0 = 0x00010000,
34  Statistics1 = 0x00020000,
35  Statistics2 = 0x00040000,
36 
37  Timings0 = 0x00100000,
38  Timings1 = 0x00200000,
39  TimingsByLevel = 0x00400000,
40 
41  External = 0x01000000,
42  Debug = 0x02000000,
43 
44  Developer = 0x04000000,
45 
46  // Print skeleton for the run
47  Test0 = 0x10000000,
48  Test1 = 0x20000000,
49 
50  // Predefined combinations of MsgType
51  // Can be used in user code or examples. Do not used as input parameters of IsPrint() or GetOStream().
59 
60  //
61  None = 0,
65 #ifdef HAVE_MUELU_DEBUG
67 #else
69 #endif
70  Default = High, // This is the default of print() methods. For VerboseObject, another default is set by VerboseObject::globalVerbLevel_ // TODO: move it to the VerboseObject class
71 
73 };
74 
76 typedef int VerbLevel;
77 
80 
82 MsgType toVerbLevel(const std::string& verbLevelStr);
83 
84 } // namespace MueLu
85 
86 #endif
Important warning messages (one line)
High level timing information (use Teuchos::TimeMonitor::summarize() to print)
Print factory calls.
Print external lib objects.
Print parameters.
Print more statistics.
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)
Print all statistics.
Print even more statistics.
Additional warnings.
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.
Print class parameters.
Timers that are enabled (using Timings0/Timings1) will be printed during the execution.
Performance warnings.
Record timing information level by level. Must be used in combinaison with Timings0/Timings1.
Print used parameters.
Print description of what is going on.
Print class parameters (more parameters, more verbose)
Print all warning messages.
Description of what is happening (more verbose)