Classes | Enumerations | Functions
Logging

Functions for logging progress of running code. More...

Classes

class  Informer
 The Informer manages textual output regarding the status of a simulation. More...
 
struct  Tags::Verbosity
 Tag for putting Verbosity in a DataBox. More...
 
struct  OptionTags::Verbosity
 

Enumerations

enum  Verbosity { Silent, Quiet, Verbose, Debug }
 Indicates how much informative output a class should output.
 

Functions

std::string info_from_build ()
 Information about the version, date, host, git commit, and link time. More...
 
std::string spectre_version ()
 Retrieve a string containing the current version of SpECTRE.
 
int spectre_major_version ()
 Returns major version.
 
int spectre_minor_version ()
 Returns minor version.
 
int spectre_patch_version ()
 Returns patch version.
 
std::string unit_test_path () noexcept
 Returns the path to the Unit test directory.
 

Detailed Description

Functions for logging progress of running code.

Function Documentation

◆ info_from_build()

std::string info_from_build ( )

Information about the version, date, host, git commit, and link time.

The information returned by this function is invaluable for identifying the version of the code used in a simulation, as well as which host, the date the code was compiled, and the time of linkage.