Temperature Class Reference
A type that describes temperature in units of K. More...
#include <ThermoScalar.hpp>
Inheritance diagram for Temperature:
Collaboration diagram for Temperature:
Public Member Functions | |
Temperature () | |
Construct a default Temperature instance. | |
Temperature (double val) | |
Construct a Temperature instance with given value. | |
operator double () const | |
Converts this Temperature instance into a double. | |
Public Member Functions inherited from ThermoScalarBase< V > | |
ThermoScalarBase () | |
Construct a default ThermoScalar instance. | |
ThermoScalarBase (double val) | |
Construct a custom ThermoScalarBase instance with given value only. More... | |
ThermoScalarBase (const V &val, const V &ddT, const V &ddP) | |
Construct a custom ThermoScalarBase instance with given value and derivatives. More... | |
template<typename VR > | |
ThermoScalarBase (const ThermoScalarBase< VR > &other) | |
Construct a copy of a ThermoScalar instance. | |
template<typename VR > | |
auto | operator= (const ThermoScalarBase< VR > &other) -> ThermoScalarBase & |
Assign another ThermoScalarBase instance to this ThermoScalarBase instance. | |
auto | operator= (double other) -> ThermoScalarBase & |
Assign a scalar to this ThermoScalarBase instance. | |
template<typename VR > | |
auto | operator+= (const ThermoScalarBase< VR > &other) -> ThermoScalarBase & |
Assign-addition of a ThermoScalar instance. | |
template<typename VR > | |
auto | operator-= (const ThermoScalarBase< VR > &other) -> ThermoScalarBase & |
Assign-subtraction of a ThermoScalar instance. | |
template<typename VR > | |
auto | operator*= (const ThermoScalarBase< VR > &other) -> ThermoScalarBase & |
Assign-multiplication of a ThermoScalar instance. | |
template<typename VR > | |
auto | operator/= (const ThermoScalarBase< VR > &other) -> ThermoScalarBase & |
Assign-division of a ThermoScalar instance. | |
auto | operator+= (double other) -> ThermoScalarBase & |
Assign-addition of a scalar. | |
auto | operator-= (double other) -> ThermoScalarBase & |
Assign-subtraction of a scalar. | |
auto | operator*= (double other) -> ThermoScalarBase & |
Assign-multiplication of a ThermoScalar instance. | |
auto | operator/= (double other) -> ThermoScalarBase & |
Assign-division of a ThermoScalar instance. | |
operator double () const | |
Explicitly converts this ThermoScalar instance into a double. | |
Additional Inherited Members | |
Public Attributes inherited from ThermoScalarBase< V > | |
V | val |
The value of the thermodynamic property. | |
V | ddT |
The partial temperature derivative of the thermodynamic property. | |
V | ddP |
The partial pressure derivative of the thermodynamic property. | |
Detailed Description
A type that describes temperature in units of K.
The documentation for this class was generated from the following file:
- Reaktoro/Common/ThermoScalar.hpp