Go to the documentation of this file.
17 include
'funct_fermi1.f90'
18 #include "../macros.h"
62 if (verbose_level .gt. 1)
then
64 write(*,*)
"Using thermal neutrino loss"
67 if (verbose_level .gt. 2)
then
69 id_debug =
open_outfile(
'debug_thermal_neutrino_loss.dat')
72 write(id_debug,
"(A)")
"# Thermal neutrino losses for constant temperature and a 50 percent mixture of C12 and O16"
73 write(id_debug,
"(A1,(A14,3x),*(A15,3x))")
"#",
"T(GK)",
"rho(g cm^-3)",
"snu(erg/g/s)",
"spair(erg/g/s)", &
74 "splas(erg/g/s)",
"sphot(erg/g/s)",
"sbrem(erg/g/s)",
"sreco(erg/g/s)"
88 call close_io_file(id_debug,
'debug_thermal_neutrino_loss.dat')
110 real(
r_kind),
intent(in) :: abar
111 real(
r_kind),
intent(in) :: ye
112 real(
r_kind),
intent(in) :: temp
113 real(
r_kind),
intent(in) :: den
114 real(
r_kind),
intent(in) :: timestep
115 real(
r_kind),
intent(out) :: neutrino_loss
117 real(
r_kind) :: dsnudt,dsnudd,dsnuda,dsnudz
121 info_entry(
"thermal_neutrinos")
129 snu,dsnudt,dsnudd,dsnuda,dsnudz, &
139 neutrino_loss =
snu*timestep
141 info_exit(
"thermal_neutrinos")
real(r_kind), save, public sreco
Recombination neutrino emissivity (erg/g)
real(r_kind), save, public spair
Pair production emissivity (erg/g)
real(r_kind), save, public sphot
Photo neutrino emissivity (erg/g)
subroutine, public thermal_neutrinos(abar, Ye, temp, den, timestep, neutrino_loss)
Calculates the neutrino emissivity.
real(r_kind), save, public snu
Neutrino emissivity (erg/g)
The thermal_neutrino_module serves as interface to the neutrino emission routines from the sneut5....
Provide some basic file-handling routines.
integer heating_mode
Mode for heating: 0 - no heating, 1 - heating using an entropy equation, 2 - heating from the energy ...
logical use_thermal_nu_loss
Whether to include thermal neutrino loss or not.
real(r_kind), save, public splas
Plasmon emission emissivity (erg/g)
integer function, public open_outfile(file_name)
Shorthand for opening a new file for writing (output file)
subroutine, public close_io_file(unit_no, file_name)
Close an external file.
subroutine sneut5_aa(temp, den, abar, zbar, snu, dsnudt, dsnudd, dsnuda, dsnudz, spair, splas, sphot, sbrem, sreco)
real(r_kind), save, public sbrem
Bremsstrahlung emissivity (erg/g)
subroutine, public thermal_neutrino_init()
Initializes the thermal_neutrino_module.
Contains all runtime parameters as well as phys and math constants.