nuflux_class.f90 File Reference

Module nuflux_class and nu-flux related stuff. More...

Go to the source code of this file.

Data Types

type  nuflux_class::nu_channel_type
 Channel type for neutrino reactions according to Sieverding et al. 2018 More...
 

Modules

module  nuflux_class
 Contains variables and parameters related to neutrino fluxes.
 

Functions/Subroutines

subroutine, public nuflux_class::init_nuflux ()
 Initialize nuflux module. More...
 
subroutine, public nuflux_class::nuflux (time, rkm)
 Determines neutrino flux for current time (in units of cm^-2 s^-1). More...
 
subroutine, public nuflux_class::calculate_nu_rate (rrate, rat_calc)
 Calculates the cross section times the neutrino flux. More...
 
subroutine, public nuflux_class::nucs ()
 Interpolate neutrino cross sections. More...
 
subroutine, public nuflux_class::nutemp (time)
 Calculates (anti-) neutrino temperatures. More...
 
subroutine, private nuflux_class::write_reac_verbose_out ()
 Write the amount of individual reactions to the out. More...
 
subroutine, private nuflux_class::read_neutrino_rates ()
 Read neutrino reactions and fill the global_class::nurate array. More...
 
subroutine, private nuflux_class::read_binary_neutrino_reaction_data (path)
 Read the reactions from a file in binary format. More...
 
subroutine, public nuflux_class::output_binary_neutrino_reaction_data (path)
 Write the reactions to a file in binary format. More...
 
subroutine, private nuflux_class::read_reactions_sieverding (reaction_file_path, reactype)
 Read the reactions from a file in the format of Sieverding et al 2018. More...
 
character(50) function nuflux_class::nurate_string (nurate)
 This function returns a string with the reaction information. More...
 
subroutine nuflux_class::read_channels (channel_file_path)
 Read the channels from a file in the format of Sieverding et al 2018. More...
 
subroutine nuflux_class::readnucs (nufile, typ)
 Reads neutrino-nuclei reaction file. More...
 
subroutine, public nuflux_class::merge_neutrino_rates (rrate_array, rrate_length)
 Routine to merge neutrino rates into rrate array. More...
 
subroutine, private nuflux_class::set_nutype (nnu_in)
 Set the type of a neutrino reaction. More...
 

Variables

type(nu_channel_type), dimension(:), allocatable nuflux_class::nu_channels
 Array of neutrino channels. More...
 
integer nuflux_class::nnu
 Amount of neutrino reactions. More...
 
type(reactionrate_type), dimension(:), allocatable nuflux_class::rrate_nu
 Neutrino rate array. More...
 
real(r_kind), dimension(4), public nuflux_class::fluxnu
 Neutrino fluxes This variable is calculated and set in nuflux. The dimension 4 accounts for the different neutrino flavors, however, only (anti-)electron neutrinos are implemented at the moment. More...
 
real(r_kind), dimension(4), private nuflux_class::tempnu
 Neutrino temperatures. This variable is set in nutemp either from the values of a trajectory or from an analytic expression. The dimension 4 accounts for the different neutrino flavors, however, only (anti-)electron neutrinos are implemented at the moment. More...
 
integer, parameter nuflux_class::nt_nugrid =7
 Length of the neutrino rate grid. More...
 
real(r_kind), dimension(nt_nugrid), private nuflux_class::sigtempnu = (/2.8d0,3.5d0,4.0d0,5.0d0,6.4d0,8.0d0,10.0d0/)
 temperature grid for neutrino cross sections More...
 
real(r_kind), private nuflux_class::rs
 Schwarzschild radius for M=mns [km], calculated in init_nuflux. More...
 
type(nurate_type), dimension(:), allocatable, private nuflux_class::anunuc
 anti-neutrino reactions on nuclides More...
 
type(nurate_type), dimension(:), allocatable, private nuflux_class::nunuc
 neutrino reactions on nuclides More...
 
integer, private nuflux_class::lumin_debugfile
 Debug file to write neutrino luminosities, neutrinospheres, and temperatures. More...
 
real(r_kind), dimension(:), allocatable, public nuflux_class::tnue
 
real(r_kind), dimension(:), allocatable, public nuflux_class::tnuebar
 (anti-)electron neutrino temperatures from trajectory More...
 
real(r_kind), dimension(:), allocatable, public nuflux_class::tnux
 
real(r_kind), dimension(:), allocatable, public nuflux_class::tnuxbar
 (anti-)mu and tau neutrino temperatures from trajectory More...
 
real(r_kind), dimension(:), allocatable, public nuflux_class::nlume
 
real(r_kind), dimension(:), allocatable, public nuflux_class::nlumebar
 (anti-)electron neutrino number luminosities from trajectory More...
 
real(r_kind), dimension(:), allocatable, public nuflux_class::nlumx
 
real(r_kind), dimension(:), allocatable, public nuflux_class::nlumxbar
 (anti-)mu and tau neutrino number luminosities from trajectory More...
 
logical, private nuflux_class::include_nc_reactions
 Flag to include neutrino reactions that are not charged current. More...
 
integer, private nuflux_class::n_nuclei
 
integer, private nuflux_class::n_anuclei
 
integer, private nuflux_class::n_nucleo
 
integer, private nuflux_class::n_cc
 
integer, private nuflux_class::n_nc
 
character(len= *), parameter, private nuflux_class::nu_binary_name = "nu_binary.windat"
 Name of the neutrino binary file. More...
 

Detailed Description

Module nuflux_class and nu-flux related stuff.

The error file code for this file is W33.

Definition in file nuflux_class.f90.