NonlinearVerbosity() holds the message levels ("Silent",
"DebugLevel", "InfoLevel", "WarnLevel", "ErrorLevel") of the
diagnostics of NonlinearSolve, as its SciMLLogging specifier. preset is
one of "None", "Minimal", "Standard" (the default), "Detailed" and
"All" (TRUE and FALSE stand for "Standard" and "None"); a group
(error_control, numerical, sensitivity) sets all its toggles, and
individual toggles in ... override both. linear_verbosity is the
verbosity of the linear solves.
Usage
NonlinearVerbosity(
preset = "Standard",
error_control = NULL,
numerical = NULL,
sensitivity = NULL,
linear_verbosity = NULL,
...
)Examples
v <- NonlinearVerbosity(numerical = "Silent", termination_condition = "ErrorLevel")
v$toggles
#> non_enclosing_interval alias_u0_immutable
#> "WarnLevel" "WarnLevel"
#> linsolve_failed_noncurrent termination_condition
#> "WarnLevel" "ErrorLevel"
#> threshold_state forcing
#> "Silent" "Silent"
#> sensitivity_vjp_choice unsupported_postcondition
#> "WarnLevel" "ErrorLevel"
NonlinearVerbosity("None")$toggles[["forcing"]]
#> [1] "Silent"