![]() |
Subroutine chempot to compute chemical potentials of electrons and positrons. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | chempot (temp, den, ye, etaele, etapos) |
Given a temperature temp [K], density den [g/cm**3], and a composition characterized by y_e, this routine returns the electron and positron chemical potentials. derivatives with respect to temperature and density are computed, but not returned. More... | |
Subroutine chempot to compute chemical potentials of electrons and positrons.
The error file code for this file is W13. This file originates from Cococubed. The chemical potentials are only used if parameter_class::use_timmes_mue is enabled or heating is turned on.
Definition in file chem_pot.f90.
subroutine chempot | ( | real(r_kind), intent(in) | temp, |
real(r_kind), intent(in) | den, | ||
real(r_kind), intent(in) | ye, | ||
real(r_kind), intent(out) | etaele, | ||
real(r_kind), intent(out) | etapos | ||
) |
Given a temperature temp [K], density den [g/cm**3], and a composition characterized by y_e, this routine returns the electron and positron chemical potentials. derivatives with respect to temperature and density are computed, but not returned.
References: Timmes & Arnett ApJS 1999
Edited:
[in] | temp | Temperature [K] |
[in] | den | Density [g/ccm] |
[in] | ye | Electron fraction |
[out] | etaele | Electron chemical potential |
[out] | etapos | Positron chemical potential |
Definition at line 24 of file chem_pot.f90.