File containing implementation details for the eos runtime module. These details are used internally by the runtime system and are not intended to be used directly by users.
More...
|
| template<typename FirstQuantityT, typename SecondQuantityT> |
| consteval bool | serif::eos::runtime::runtimeQuantityIdentifiersAreCompatible () |
| | A helper function to determine if two runtime quantity identifiers are compatible. This is used to ensure that all relations in a catalog have unique runtime quantity identifiers.
|
| |
| template<typename QuantityTupleT, std::size_t First, std::size_t... Offsets> |
| consteval bool | serif::eos::runtime::runtimeQuantityIdentifierIsUnambiguous (std::index_sequence< Offsets... >) |
| | A helper function to determine if the runtime quantity identifiers in a tuple of quantity types are unambiguous. This is used to ensure that all relations in a catalog have unique runtime quantity identifiers.
|
| |
| template<typename QuantityTupleT, std::size_t... Indices> |
| consteval bool | serif::eos::runtime::runtimeQuantityIdentifiersAreUnambiguous (std::index_sequence< Indices... >) |
| | A helper function to determine if the runtime quantity identifiers in a tuple of quantity types are unambiguous. This is used to ensure that all relations in a catalog have unique runtime quantity identifiers.
|
| |
| std::expected< double, utils::errors::SERiFErrorCode > | serif::eos::runtime::runtimeEvaluationFailure (const utils::errors::SERiFErrorCode code) |
| | A helper function to create a std::unexpected with a SERiFErrorCode. This is used to simplify the usage of std::expected in the runtime system.
|
| |
| template<typename EOS, typename OutputT, typename... InputTs> |
| std::expected< double, utils::errors::SERiFErrorCode > | serif::eos::runtime::evaluateRuntimeRelation (const EOS &eos, relations::Relation< OutputT, InputTs... >, const std::span< const dimensions::runtime::RuntimeQuantityValue > inputValues) |
| | A helper function to evaluate a relation at runtime. This is used to simplify the usage of std::expected in the runtime system.
|
| |
| template<typename InputQuantityT, typename EOS, typename OutputT, typename... InputTs> |
| bool | serif::eos::runtime::tryRuntimePartialDerivative (const EOS &eos, relations::Relation< OutputT, InputTs... >, const dimensions::runtime::ThermodynamicQuantityID withRespectTo, const std::span< const dimensions::runtime::RuntimeQuantityValue > inputValues, std::expected< double, utils::errors::SERiFErrorCode > &result) |
| | A helper function to evaluate a partial derivative of a relation at runtime. This is used to simplify the usage of std::expected in the runtime system.
|
| |
| template<typename EOS, typename OutputT, typename... InputTs> |
| std::expected< double, utils::errors::SERiFErrorCode > | serif::eos::runtime::evaluateRuntimePartialDerivative (const EOS &eos, relations::Relation< OutputT, InputTs... > relation, const dimensions::runtime::ThermodynamicQuantityID withRespectTo, const std::span< const dimensions::runtime::RuntimeQuantityValue > inputValues) |
| | A helper function to evaluate a partial derivative of a relation at runtime. This is used to simplify the usage of std::expected in the runtime system.
|
| |
| template<typename EOS, typename RelationT> |
| bool | serif::eos::runtime::runtimeRelationMatches (const dimensions::runtime::ThermodynamicQuantityID outputQuantityID, const std::span< const dimensions::runtime::RuntimeQuantityValue > inputValues) |
| | A helper function to determine if a relation matches the given output quantity and input quantities at runtime. This is used to simplify the usage of std::expected in the runtime system.
|
| |
File containing implementation details for the eos runtime module. These details are used internally by the runtime system and are not intended to be used directly by users.
- Author
- Emily M. Boudreaux