SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::serialize::Serializer< solver::MetricEvaluation > Struct Reference

Store bounded numerical history as named data, without runtime operators or graph caches. More...

#include <solver.hpp>

Inheritance diagram for serif::utils::serialize::Serializer< solver::MetricEvaluation >:
[legend]
Collaboration diagram for serif::utils::serialize::Serializer< solver::MetricEvaluation >:
[legend]

Public Types

using T = solver::MetricEvaluation
 

Static Public Attributes

static constexpr std::string_view key = "newton_metric"
 
static constexpr auto members
 

Additional Inherited Members

- Static Public Member Functions inherited from serif::utils::serialize::StructSerializer< solver::MetricEvaluation >
static Node save (const solver::MetricEvaluation &value)
 Delegate each named field to its own serializer.
 
static Result< solver::MetricEvaluation > load (const Node &node)
 Reconstruct only after every named field has decoded successfully.
 

Detailed Description

Store bounded numerical history as named data, without runtime operators or graph caches.

Member Typedef Documentation

◆ T

Member Data Documentation

◆ key

std::string_view serif::utils::serialize::Serializer< solver::MetricEvaluation >::key = "newton_metric"
staticconstexpr

◆ members

Initial value:
= std::tuple{
member_field("residual_norm", &T::residual_norm), member_field("merit", &T::merit)}
constexpr auto member_field(std::string_view name, Value Owner::*pointer)
Deduce a member's stored type from its ordinary C++ declaration.
Definition components.hpp:20
double merit
Definition options.hpp:44
double residual_norm
Definition options.hpp:43

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