ProgressEvent Struct Reference#

DiFfRG: DiFfRG::ProgressEvent Struct Reference
DiFfRG
Discretization Framework for functional Renormalization Group flows
DiFfRG::ProgressEvent Struct Reference

#include <run_reporter.hh>

Public Member Functions

ProgressEvent & field (const std::string_view name, const double value, const int minimum_verbosity=1)
 

Public Attributes

ProgressTopic topic = progress_topics::timestep
 
double time = 0.
 
double duration_ms = -1.
 
long int iterations = -1
 
int minimum_verbosity = 1
 
std::array< ProgressField, 16 > fields {}
 
std::size_t field_count = 0
 

Detailed Description

A small, allocation-free runtime progress record. Field names must have static storage duration.

Member Function Documentation

◆ field()

ProgressEvent & DiFfRG::ProgressEvent::field ( const std::string_view name,
const double value,
const int minimum_verbosity = 1 )
inline

Member Data Documentation

◆ duration_ms

double DiFfRG::ProgressEvent::duration_ms = -1.

◆ field_count

std::size_t DiFfRG::ProgressEvent::field_count = 0

◆ fields

std::array<ProgressField, 16> DiFfRG::ProgressEvent::fields {}

◆ iterations

long int DiFfRG::ProgressEvent::iterations = -1

◆ minimum_verbosity

int DiFfRG::ProgressEvent::minimum_verbosity = 1

◆ time

double DiFfRG::ProgressEvent::time = 0.

◆ topic

ProgressTopic DiFfRG::ProgressEvent::topic = progress_topics::timestep

The documentation for this struct was generated from the following file:
  • /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/common/run_reporter.hh