SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::eos::relations::Relation< Output, Inputs > Struct Template Referencefinal

A struct to represent a relation between physical quantities. This is used to define the relations that an EOS model supports. More...

#include <catalog.hpp>

Public Types

using OutputQuantity = Output
 The output quantity of the relation.
 
using InputQuantities = dimensions::QuantityList<Inputs...>
 The input quantities of the relation.
 

Static Public Attributes

static constexpr std::size_t inputCount = CountVariadicArguments<Inputs...>()
 The number of input quantities in the relation.
 

Detailed Description

template<typename Output, typename... Inputs>
struct serif::eos::relations::Relation< Output, Inputs >

A struct to represent a relation between physical quantities. This is used to define the relations that an EOS model supports.

Template Parameters
OutputThe output quantity of the relation.
InputsThe input quantities of the relation.

Member Typedef Documentation

◆ InputQuantities

template<typename Output, typename... Inputs>
using serif::eos::relations::Relation< Output, Inputs >::InputQuantities = dimensions::QuantityList<Inputs...>

The input quantities of the relation.

◆ OutputQuantity

template<typename Output, typename... Inputs>
using serif::eos::relations::Relation< Output, Inputs >::OutputQuantity = Output

The output quantity of the relation.

Member Data Documentation

◆ inputCount

template<typename Output, typename... Inputs>
std::size_t serif::eos::relations::Relation< Output, Inputs >::inputCount = CountVariadicArguments<Inputs...>()
staticconstexpr

The number of input quantities in the relation.


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