SERiF 0.0.1a
3+1D Stellar Structure and Evolution
|
Output from an EOS calculation. More...
#include <EOS.h>
Public Member Functions | |
double | chiTemperature () |
Calculates the temperature susceptibility (chi_T). | |
double | chiRho () |
Calculates the density susceptibility (chi_rho). | |
double | soundSpeed () |
Calculates the adiabatic sound speed. | |
double | adiabaticGradient () |
Calculates the adiabatic temperature gradient (nabla_ad). | |
double | gamma1 () |
Calculates the first adiabatic index (Gamma1). | |
double | gamma2 () |
Calculates the second adiabatic index (Gamma2). | |
double | gamma3 () |
Calculates the third adiabatic index (Gamma3). | |
double | specificHeatCapacityAtConstantVolume () |
Calculates the specific heat capacity at constant volume (c_v). | |
double | specificHeatCapacityAtConstantPressure () |
Calculates the specific heat capacity at constant pressure (c_p). | |
Public Attributes | |
double | electronFraction {} |
Electron fraction (ye), dimensionless. | |
double | electronChemicalPotential {} |
Electron chemical potential (eta_e) in cgs (erg/g). | |
double | neutronExcessFraction {} |
Neutron excess fraction (xnefer), dimensionless. | |
EOSParameter | pressure {"pressure"} |
Pressure output data, including total, gas, radiation, and derivatives. | |
EOSParameter | energy {"energy"} |
Internal energy output data, including total, gas, radiation, and derivatives. | |
EOSParameter | entropy {"entropy"} |
Entropy output data, including total, gas, radiation, and derivatives. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const EOSOutput &output) |
Output from an EOS calculation.
This struct contains various thermodynamic quantities and their derivatives calculated by the EOS for a given set of input conditions. It includes fundamental properties like electron fraction and chemical potential, as well as detailed breakdowns of pressure, energy, and entropy. Additionally, it provides methods to calculate derived quantities like susceptibilities, sound speed, adiabatic gradients, and specific heats.
double serif::eos::EOSOutput::adiabaticGradient | ( | ) |
Calculates the adiabatic temperature gradient (nabla_ad).
double serif::eos::EOSOutput::chiRho | ( | ) |
Calculates the density susceptibility (chi_rho).
double serif::eos::EOSOutput::chiTemperature | ( | ) |
Calculates the temperature susceptibility (chi_T).
double serif::eos::EOSOutput::gamma1 | ( | ) |
Calculates the first adiabatic index (Gamma1).
double serif::eos::EOSOutput::gamma2 | ( | ) |
Calculates the second adiabatic index (Gamma2).
double serif::eos::EOSOutput::gamma3 | ( | ) |
Calculates the third adiabatic index (Gamma3).
double serif::eos::EOSOutput::soundSpeed | ( | ) |
Calculates the adiabatic sound speed.
double serif::eos::EOSOutput::specificHeatCapacityAtConstantPressure | ( | ) |
Calculates the specific heat capacity at constant pressure (c_p).
double serif::eos::EOSOutput::specificHeatCapacityAtConstantVolume | ( | ) |
Calculates the specific heat capacity at constant volume (c_v).
|
friend |
double serif::eos::EOSOutput::electronChemicalPotential {} |
Electron chemical potential (eta_e) in cgs (erg/g).
double serif::eos::EOSOutput::electronFraction {} |
Electron fraction (ye), dimensionless.
EOSParameter serif::eos::EOSOutput::energy {"energy"} |
Internal energy output data, including total, gas, radiation, and derivatives.
EOSParameter serif::eos::EOSOutput::entropy {"entropy"} |
Entropy output data, including total, gas, radiation, and derivatives.
double serif::eos::EOSOutput::neutronExcessFraction {} |
Neutron excess fraction (xnefer), dimensionless.
EOSParameter serif::eos::EOSOutput::pressure {"pressure"} |
Pressure output data, including total, gas, radiation, and derivatives.