|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
A specialization of the RuntimeCatalogDispatch struct for a catalog of relations. This specialization dispatches runtime evaluation of relations in the catalog. More...
#include <details.hpp>
Static Public Member Functions | |
| static std::expected< double, utils::errors::SERiFErrorCode > | evaluate (const void *object, const dimensions::runtime::ThermodynamicQuantityID &outputQuantity, const std::span< const dimensions::runtime::RuntimeQuantityValue > inputValues) |
| A helper function to evaluate a relation in the catalog at runtime. This is used to simplify the usage of std::expected in the runtime system. | |
| static std::expected< double, utils::errors::SERiFErrorCode > | partial_derivative (const void *object, const dimensions::runtime::ThermodynamicQuantityID &outputQuantity, const dimensions::runtime::ThermodynamicQuantityID &withRespectTo, const std::span< const dimensions::runtime::RuntimeQuantityValue > inputValues) |
| A helper function to evaluate a partial derivative of a relation in the catalog at runtime. This is used to simplify the usage of std::expected in the runtime system. | |
A specialization of the RuntimeCatalogDispatch struct for a catalog of relations. This specialization dispatches runtime evaluation of relations in the catalog.
| EOS | The EOS model type that supports the relations in the catalog. |
| RelationTs | The relation types in the catalog. |
|
inlinestaticnodiscard |
A helper function to evaluate a relation in the catalog at runtime. This is used to simplify the usage of std::expected in the runtime system.
| object | A pointer to the EOS model instance to use for evaluation. |
| outputQuantity | The output quantity type to evaluate. |
| inputValues | The input values to use for evaluation. |
|
inlinestaticnodiscard |
A helper function to evaluate a partial derivative of a relation in the catalog at runtime. This is used to simplify the usage of std::expected in the runtime system.
| object | A pointer to the EOS model instance to use for evaluation. |
| outputQuantity | The output quantity type to evaluate. |
| withRespectTo | The input quantity type to take the partial derivative with respect to. |
| inputValues | The input values to use for evaluation. |