SERiF 0.0.1a
3+1D Stellar Structure and Evolution
|
Represents a thermodynamic parameter and its derivatives. More...
#include <EOS.h>
Public Member Functions | |
EOSParameter (std::string name_) | |
Public Attributes | |
double | total |
Total value of the parameter (gas + radiation) (cgs). | |
double | gas |
Gas contribution to the parameter (cgs). | |
double | radiation |
Radiation contribution to the parameter (cgs). | |
double | dDensity |
Derivative of the total parameter with respect to density (cgs units / (g/cm^3)). | |
double | dTemperature |
Derivative of the total parameter with respect to temperature (cgs units / K). | |
double | dMeanAtomicMassNumber |
Derivative of the total parameter with respect to mean atomic mass number (Abar) (cgs units / (g/mol)). | |
double | dMeanAtomicNumber |
Derivative of the total parameter with respect to mean atomic number (Zbar) (cgs units / dimensionless). | |
std::string | name |
Name of the parameter (e.g., "Pressure", "Energy", "Entropy"). | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const EOSParameter ¶m) |
Represents a thermodynamic parameter and its derivatives.
This struct stores a specific thermodynamic quantity (e.g., pressure, energy, entropy), its breakdown into gas and radiation components, and its partial derivatives with respect to density, temperature, mean atomic mass number, and mean atomic number. All values are in cgs units unless otherwise specified.
|
inlineexplicit |
|
friend |
double serif::eos::EOSParameter::dDensity |
Derivative of the total parameter with respect to density (cgs units / (g/cm^3)).
double serif::eos::EOSParameter::dMeanAtomicMassNumber |
Derivative of the total parameter with respect to mean atomic mass number (Abar) (cgs units / (g/mol)).
double serif::eos::EOSParameter::dMeanAtomicNumber |
Derivative of the total parameter with respect to mean atomic number (Zbar) (cgs units / dimensionless).
double serif::eos::EOSParameter::dTemperature |
Derivative of the total parameter with respect to temperature (cgs units / K).
double serif::eos::EOSParameter::gas |
Gas contribution to the parameter (cgs).
std::string serif::eos::EOSParameter::name |
Name of the parameter (e.g., "Pressure", "Energy", "Entropy").
double serif::eos::EOSParameter::radiation |
Radiation contribution to the parameter (cgs).
double serif::eos::EOSParameter::total |
Total value of the parameter (gas + radiation) (cgs).