SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::dimensions::runtime::RuntimeQuantityValue Struct Referencefinal

Runtime resolved type for a quantity value. This holds both an ID and a value. This is the runtime equivalent to a QuantityValue. Note that where these differ is that QuantityValue is built with template types. This allows the compiler to resolve it to a plain numeric type and still do optimizations That is generally not the case with RuntimeQuantityValue. More...

#include <runtime.hpp>

Collaboration diagram for serif::dimensions::runtime::RuntimeQuantityValue:
[legend]

Public Attributes

ThermodynamicQuantityID id
 
double value {}
 

Detailed Description

Runtime resolved type for a quantity value. This holds both an ID and a value. This is the runtime equivalent to a QuantityValue. Note that where these differ is that QuantityValue is built with template types. This allows the compiler to resolve it to a plain numeric type and still do optimizations That is generally not the case with RuntimeQuantityValue.

Member Data Documentation

◆ id

ThermodynamicQuantityID serif::dimensions::runtime::RuntimeQuantityValue::id

◆ value

double serif::dimensions::runtime::RuntimeQuantityValue::value {}

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