MueLu Version of the Day
Loading...
Searching...
No Matches
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
13#include <Teuchos_VerbosityLevel.hpp>
14
15namespace MueLu {
16
17enum 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
72 NotSpecified = -1
73};
74
76typedef int VerbLevel;
77
79VerbLevel toMueLuVerbLevel(const Teuchos::EVerbosityLevel verbLevel);
80
82MsgType toVerbLevel(const std::string& verbLevelStr);
83
84} // namespace MueLu
85
86#endif
Namespace for MueLu classes and methods.
@ Warnings00
Important warning messages (more verbose)
@ Timings1
Detailed timing information (use Teuchos::TimeMonitor::summarize() to print)
@ Warnings0
Important warning messages (one line)
@ Statistics2
Print even more statistics.
@ Test0
Print factory calls.
@ RuntimeTimings
Timers that are enabled (using Timings0/Timings1) will be printed during the execution.
@ Developer
Print information primarily of interest to developers.
@ Warnings
Print all warning messages.
@ Debug
Print additional debugging information.
@ Test1
Print used parameters.
@ Statistics1
Print more statistics.
@ External
Print external lib objects.
@ Runtime
Print description of what is going on.
@ NoTimeReport
By default, enabled timers appears in the teuchos time monitor summary. Use this option if you do not...
@ Timings0
High level timing information (use Teuchos::TimeMonitor::summarize() to print)
@ PerfWarnings
Performance warnings.
@ Runtime0
One-liner description of what is happening.
@ Runtime1
Description of what is happening (more verbose)
@ Parameters
Print parameters.
@ Statistics
Print all statistics.
@ TimingsByLevel
Record timing information level by level. Must be used in combinaison with Timings0/Timings1.
@ Warnings1
Additional warnings.
@ Timings
Print all timing information.
@ Parameters0
Print class parameters.
@ Statistics0
Print statistics that do not involve significant additional computation.
@ Parameters1
Print class parameters (more parameters, more verbose)
MsgType toVerbLevel(const std::string &verbLevelStr)
VerbLevel toMueLuVerbLevel(const Teuchos::EVerbosityLevel verbLevel)
Translate Teuchos verbosity level to MueLu verbosity level.