Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ContourProgressEvent Struct Reference

Payload passed to contour progress callbacks. More...

#include <ContourObserver.h>

Public Attributes

ContourProgressEventType type = ContourProgressEventType::Started
 Event category.
 
double level = 0.0
 Contour level associated with the event.
 
std::size_t path_id = 0
 Index of the contour path being reported.
 
std::size_t point_id = 0
 Index of the point within the current path.
 
double x = 0.0
 X coordinate of a reported contour point.
 
double y = 0.0
 Y coordinate of a reported contour point.
 
std::size_t n_paths = 0
 Number of paths produced so far or in total.
 
std::size_t n_points = 0
 Number of points produced so far or in total.
 
double elapsed_seconds = 0.0
 Wall-clock time elapsed since computation start.
 
std::string message
 Optional human-readable status message.
 

Detailed Description

Payload passed to contour progress callbacks.

Not every field is meaningful for every event type. For example, x and y are mainly relevant for ContourProgressEventType::PathPoint, whereas n_paths, n_points, and elapsed_seconds are typically filled for final lifecycle events.

Definition at line 39 of file ContourObserver.h.

Member Data Documentation

◆ elapsed_seconds

double ContourProgressEvent::elapsed_seconds = 0.0

Wall-clock time elapsed since computation start.

Definition at line 53 of file ContourObserver.h.

◆ level

double ContourProgressEvent::level = 0.0

Contour level associated with the event.

Definition at line 42 of file ContourObserver.h.

◆ message

std::string ContourProgressEvent::message

Optional human-readable status message.

Definition at line 55 of file ContourObserver.h.

◆ n_paths

std::size_t ContourProgressEvent::n_paths = 0

Number of paths produced so far or in total.

Definition at line 50 of file ContourObserver.h.

◆ n_points

std::size_t ContourProgressEvent::n_points = 0

Number of points produced so far or in total.

Definition at line 51 of file ContourObserver.h.

◆ path_id

std::size_t ContourProgressEvent::path_id = 0

Index of the contour path being reported.

Definition at line 44 of file ContourObserver.h.

◆ point_id

std::size_t ContourProgressEvent::point_id = 0

Index of the point within the current path.

Definition at line 45 of file ContourObserver.h.

◆ type

Event category.

Definition at line 40 of file ContourObserver.h.

◆ x

double ContourProgressEvent::x = 0.0

X coordinate of a reported contour point.

Definition at line 47 of file ContourObserver.h.

◆ y

double ContourProgressEvent::y = 0.0

Y coordinate of a reported contour point.

Definition at line 48 of file ContourObserver.h.


The documentation for this struct was generated from the following file: