SERiF 0.0.1a
3+1D Stellar Structure and Evolution
Loading...
Searching...
No Matches
serif::eos::EOSParameter Struct Reference

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 &param)
 

Detailed Description

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.

Examples
/Users/tboudreaux/Programming/SERiF/src/eos/public/EOS.h.

Definition at line 38 of file EOS.h.

Constructor & Destructor Documentation

◆ EOSParameter()

serif::eos::EOSParameter::EOSParameter ( std::string name_)
inlineexplicit

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const EOSParameter & param )
friend

Member Data Documentation

◆ dDensity

double serif::eos::EOSParameter::dDensity

Derivative of the total parameter with respect to density (cgs units / (g/cm^3)).

Examples
/Users/tboudreaux/Programming/SERiF/src/eos/public/EOS.h.

Definition at line 49 of file EOS.h.

◆ dMeanAtomicMassNumber

double serif::eos::EOSParameter::dMeanAtomicMassNumber

Derivative of the total parameter with respect to mean atomic mass number (Abar) (cgs units / (g/mol)).

Examples
/Users/tboudreaux/Programming/SERiF/src/eos/public/EOS.h.

Definition at line 51 of file EOS.h.

◆ dMeanAtomicNumber

double serif::eos::EOSParameter::dMeanAtomicNumber

Derivative of the total parameter with respect to mean atomic number (Zbar) (cgs units / dimensionless).

Examples
/Users/tboudreaux/Programming/SERiF/src/eos/public/EOS.h.

Definition at line 52 of file EOS.h.

◆ dTemperature

double serif::eos::EOSParameter::dTemperature

Derivative of the total parameter with respect to temperature (cgs units / K).

Examples
/Users/tboudreaux/Programming/SERiF/src/eos/public/EOS.h.

Definition at line 50 of file EOS.h.

◆ gas

double serif::eos::EOSParameter::gas

Gas contribution to the parameter (cgs).

Examples
/Users/tboudreaux/Programming/SERiF/src/eos/public/EOS.h.

Definition at line 46 of file EOS.h.

◆ name

std::string serif::eos::EOSParameter::name

Name of the parameter (e.g., "Pressure", "Energy", "Entropy").

Examples
/Users/tboudreaux/Programming/SERiF/src/eos/public/EOS.h.

Definition at line 54 of file EOS.h.

◆ radiation

double serif::eos::EOSParameter::radiation

Radiation contribution to the parameter (cgs).

Examples
/Users/tboudreaux/Programming/SERiF/src/eos/public/EOS.h.

Definition at line 47 of file EOS.h.

◆ total

double serif::eos::EOSParameter::total

Total value of the parameter (gas + radiation) (cgs).

Examples
/Users/tboudreaux/Programming/SERiF/src/eos/public/EOS.h.

Definition at line 45 of file EOS.h.


The documentation for this struct was generated from the following file: