MFEM
v4.6.0
Finite element discretization library
|
Settings for the output behavior of the IterativeSolver. More...
#include <solvers.hpp>
Public Member Functions | |
PrintLevel ()=default | |
Initializes the print level to suppress. More... | |
Builder | |
These methods are utilized to construct PrintLevel objects through a builder approach by chaining the function calls in this group. | |
PrintLevel & | None () |
PrintLevel & | Warnings () |
PrintLevel & | Errors () |
PrintLevel & | Iterations () |
PrintLevel & | FirstAndLast () |
PrintLevel & | Summary () |
PrintLevel & | All () |
Public Attributes | |
bool | errors = false |
If a fatal problem has been detected the failure will be reported to mfem::err. More... | |
bool | warnings = false |
If a non-fatal problem has been detected some context-specific information will be reported to mfem::out. More... | |
bool | iterations = false |
Detailed information about each iteration will be reported to mfem::out. More... | |
bool | summary = false |
A summary of the solver process will be reported after the last iteration to mfem::out. More... | |
bool | first_and_last = false |
Information about the first and last iteration will be printed to mfem::out. More... | |
Settings for the output behavior of the IterativeSolver.
By default, all output is suppressed. The construction of the desired print level can be achieved through a builder pattern, for example
PrintLevel().Errors().Warnings()
constructs the print level with only errors and warnings enabled.
Definition at line 78 of file solvers.hpp.
|
default |
Initializes the print level to suppress.
|
inline |
Definition at line 109 of file solvers.hpp.
|
inline |
Definition at line 105 of file solvers.hpp.
|
inline |
Definition at line 107 of file solvers.hpp.
|
inline |
Definition at line 106 of file solvers.hpp.
|
inline |
Definition at line 103 of file solvers.hpp.
|
inline |
Definition at line 108 of file solvers.hpp.
|
inline |
Definition at line 104 of file solvers.hpp.
bool mfem::IterativeSolver::PrintLevel::errors = false |
If a fatal problem has been detected the failure will be reported to mfem::err.
Definition at line 82 of file solvers.hpp.
bool mfem::IterativeSolver::PrintLevel::first_and_last = false |
Information about the first and last iteration will be printed to mfem::out.
Definition at line 94 of file solvers.hpp.
bool mfem::IterativeSolver::PrintLevel::iterations = false |
Detailed information about each iteration will be reported to mfem::out.
Definition at line 88 of file solvers.hpp.
bool mfem::IterativeSolver::PrintLevel::summary = false |
A summary of the solver process will be reported after the last iteration to mfem::out.
Definition at line 91 of file solvers.hpp.
bool mfem::IterativeSolver::PrintLevel::warnings = false |
If a non-fatal problem has been detected some context-specific information will be reported to mfem::out.
Definition at line 85 of file solvers.hpp.