Dune Core Modules (unstable)

Standard Debug Streams

Macros

#define DUNE_MINIMAL_DEBUG_LEVEL   4
 The default minimum debug level. More...
 

Typedefs

typedef DebugStream< VERY_VERBOSE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL > Dune::DVVerbType
 Type of very verbose debug stream. More...
 
typedef DebugStream< VERBOSE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL > Dune::DVerbType
 Type of more verbose debug stream. More...
 
typedef DebugStream< INFO_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL > Dune::DInfoType
 Type of debug stream with info level. More...
 
typedef DebugStream< WARN_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL > Dune::DWarnType
 Type of debug stream with warn level. More...
 
typedef DebugStream< GRAVE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL > Dune::DGraveType
 Type of debug stream for fatal errors.
 
typedef DebugStream< 1 > Dune::DErrType
 The type of the stream used for error messages.
 

Variables

static const DebugLevel Dune::VERY_VERBOSE_DEBUG_LEVEL = 1
 The level of the very verbose debug stream. More...
 
DVVerbType Dune::dvverb (std::cout)
 stream for very verbose output. More...
 
static const DebugLevel Dune::VERBOSE_DEBUG_LEVEL = 2
 The level of the verbose debug stream. More...
 
DVerbType Dune::dverb (std::cout)
 Singleton of verbose debug stream. More...
 
static const DebugLevel Dune::INFO_DEBUG_LEVEL = 3
 The level of the informative debug stream. More...
 
DInfoType Dune::dinfo (std::cout)
 Stream for informative output. More...
 
static const DebugLevel Dune::WARN_DEBUG_LEVEL = 4
 The level of the debug stream for warnings. More...
 
DWarnType Dune::dwarn (std::cerr)
 Stream for warnings indicating problems. More...
 
static const DebugLevel Dune::GRAVE_DEBUG_LEVEL = 5
 The level of the debug stream for fatal errors. More...
 
DGraveType Dune::dgrave (std::cerr)
 Stream for warnings indicating fatal errors. More...
 
DErrType Dune::derr (std::cerr)
 Stream for error messages. More...
 

Detailed Description

Dune defines several standard output streams for the library routines.

Applications may control the standard streams via the attach/detach, push/pop interface but should define an independent set of streams (see Applications )

Macro Definition Documentation

◆ DUNE_MINIMAL_DEBUG_LEVEL

#define DUNE_MINIMAL_DEBUG_LEVEL   4

The default minimum debug level.

If the level of a stream is bigger than this value it will be activated.

Typedef Documentation

◆ DInfoType

typedef DebugStream<INFO_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> Dune::DInfoType

Type of debug stream with info level.

See also
dinfo

◆ DVerbType

typedef DebugStream<VERBOSE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> Dune::DVerbType

Type of more verbose debug stream.

See also
dverb

◆ DVVerbType

typedef DebugStream<VERY_VERBOSE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> Dune::DVVerbType

Type of very verbose debug stream.

See also
dvverb

◆ DWarnType

typedef DebugStream<WARN_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> Dune::DWarnType

Type of debug stream with warn level.

See also
dwarn

Variable Documentation

◆ derr

DErrType Dune::derr ( std::cerr  )

Stream for error messages.

Standard Dune debug streams.

Only packages integrating Dune completely will redirect it. The output of derr is independent of the debug-level, only the activation-flag is checked.

◆ dgrave

DGraveType Dune::dgrave ( std::cerr  )

Stream for warnings indicating fatal errors.

◆ dinfo

DInfoType Dune::dinfo ( std::cout  )

Stream for informative output.

Summary infos on what a module does, runtimes, etc.

Referenced by Dune::Amg::GalerkinProduct< SequentialInformation >::build().

◆ dverb

◆ dvverb

DVVerbType Dune::dvverb ( std::cout  )

stream for very verbose output.

Information on the lowest level. This is expected to report insane amounts of information. Use of the activation-flag to only generate output near the problem is recommended.

Referenced by Dune::Amg::MatrixHierarchy< M, PI, A >::coarsenVector().

◆ dwarn

◆ GRAVE_DEBUG_LEVEL

const DebugLevel Dune::GRAVE_DEBUG_LEVEL = 5
static

The level of the debug stream for fatal errors.

See also
dgrave

◆ INFO_DEBUG_LEVEL

const DebugLevel Dune::INFO_DEBUG_LEVEL = 3
static

The level of the informative debug stream.

See also
dinfo

◆ VERBOSE_DEBUG_LEVEL

const DebugLevel Dune::VERBOSE_DEBUG_LEVEL = 2
static

The level of the verbose debug stream.

See also
dvverb

◆ VERY_VERBOSE_DEBUG_LEVEL

const DebugLevel Dune::VERY_VERBOSE_DEBUG_LEVEL = 1
static

The level of the very verbose debug stream.

See also
dvverb

◆ WARN_DEBUG_LEVEL

const DebugLevel Dune::WARN_DEBUG_LEVEL = 4
static

The level of the debug stream for warnings.

See also
dwarn
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 6, 23:30, 2024)