Skip to content

Commit 2658457

Browse files
authored
[ci skip] tweak some documentation to avoid ambiguity in what it means to 'subtract' neutrino losses
1 parent 5aea077 commit 2658457

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

net/public/net_lib.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ subroutine net_get( &
636636
real(dp), pointer, intent(in) :: reaction_Qs(:) ! (rates_reaction_id_max)
637637
real(dp), pointer, intent(in) :: reaction_neuQs(:) ! (rates_reaction_id_max)
638638

639-
real(dp), intent(out) :: eps_nuc ! ergs/g/s from burning after subtract reaction neutrinos
639+
real(dp), intent(out) :: eps_nuc ! ergs/g/s from burning after including losses from reaction neutrinos
640640
real(dp), intent(out) :: d_eps_nuc_dT
641641
real(dp), intent(out) :: d_eps_nuc_dRho
642642
real(dp), intent(inout) :: d_eps_nuc_dx(:) ! (num_isos)
@@ -895,7 +895,7 @@ subroutine net_get_symbolic_d_dxdt_dx( &
895895
real(dp), pointer, intent(in) :: reaction_Qs(:) ! (rates_reaction_id_max)
896896
real(dp), pointer, intent(in) :: reaction_neuQs(:) ! (rates_reaction_id_max)
897897

898-
real(dp), intent(out) :: eps_nuc ! ergs/g/s from burning after subtract reaction neutrinos
898+
real(dp), intent(out) :: eps_nuc ! ergs/g/s from burning after including reaction neutrinos
899899
real(dp), intent(out) :: d_eps_nuc_dT
900900
real(dp), intent(out) :: d_eps_nuc_dRho
901901
real(dp), intent(inout) :: d_eps_nuc_dx(:) ! (num_isos)
@@ -995,7 +995,7 @@ subroutine net_get_with_Qs( &
995995
real(dp), intent(in) :: weak_rate_factor
996996
real(dp), pointer, intent(in) :: reaction_Qs(:) ! (rates_reaction_id_max)
997997
real(dp), pointer, intent(in) :: reaction_neuQs(:) ! (rates_reaction_id_max)
998-
real(dp), intent(out) :: eps_nuc ! ergs/g/s from burning after subtract reaction neutrinos
998+
real(dp), intent(out) :: eps_nuc ! ergs/g/s from burning after including reaction neutrinos
999999
real(dp), intent(out) :: d_eps_nuc_dT
10001000
real(dp), intent(out) :: d_eps_nuc_dRho
10011001
real(dp), intent(inout) :: d_eps_nuc_dx(:) ! (num_isos)

star/defaults/profile_columns.list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
!eps_nuc_minus_non_nuc_neu
239239
!eps_nuc_start
240240

241-
!eps_nuc ! ergs/g/sec from nuclear reactions (reaction neutrinos subtracted)
241+
!eps_nuc ! ergs/g/sec from nuclear reactions (including losses to reaction neutrinos)
242242
!log_abs_eps_nuc
243243
!d_lnepsnuc_dlnd
244244
!d_epsnuc_dlnd

star/other/other_net_get.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ subroutine null_other_net_get( &
7070
real(dp), intent(in) :: weak_rate_factor
7171
real(dp), pointer, intent(in) :: reaction_Qs(:) ! (rates_reaction_id_max)
7272
real(dp), pointer, intent(in) :: reaction_neuQs(:) ! (rates_reaction_id_max)
73-
real(dp), intent(out) :: eps_nuc ! ergs/g/s from burning after subtract reaction neutrinos
73+
real(dp), intent(out) :: eps_nuc ! ergs/g/s from burning after including losses to reaction neutrinos
7474
real(dp), intent(out) :: d_eps_nuc_dT
7575
real(dp), intent(out) :: d_eps_nuc_dRho
7676
real(dp), intent(inout) :: d_eps_nuc_dx(:) ! (num_isos)

star/rsp2_utils/profile_columns.list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
ye ! average charge per baryon = proton fraction
8080
opacity ! opacity measured at center of zone
8181
log_opacity ! log10(opacity)
82-
eps_nuc ! ergs/g/sec from nuclear reactions (neutrinos subtracted)
82+
eps_nuc ! ergs/g/sec from nuclear reactions (including losses to reaction neutrinos)
8383
non_nuc_neu ! non-nuclear-reaction neutrino losses
8484
!nonnucneu_plas ! plasmon neutrinos (for collective reactions like gamma_plasmon => nu_e + nubar_e)
8585
!nonnucneu_brem ! bremsstrahlung (for reactions like e- + (z,a) => e- + (z,a) + nu + nubar)

star_data/public/star_data_def.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@
914914
real(dp), intent(in) :: weak_rate_factor
915915
real(dp), pointer, intent(in) :: reaction_Qs(:) ! (rates_reaction_id_max)
916916
real(dp), pointer, intent(in) :: reaction_neuQs(:) ! (rates_reaction_id_max)
917-
real(dp), intent(out) :: eps_nuc ! ergs/g/s from burning after subtract reaction neutrinos
917+
real(dp), intent(out) :: eps_nuc ! ergs/g/s from burning including losses by reaction neutrinos
918918
real(dp), intent(out) :: d_eps_nuc_dT
919919
real(dp), intent(out) :: d_eps_nuc_dRho
920920
real(dp), intent(inout) :: d_eps_nuc_dx(:) ! (num_isos)

star_data/public/star_data_step_work.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,14 @@
221221

222222
real(dp), pointer :: eps_nuc(:) ! sum of reaction_eps_nuc for all reactions in net
223223
! thermal ergs per gram per second from nuclear reactions
224-
! (nuclear reaction neutrinos have been subtracted)
224+
! (including losses to neutrinos produced in the reactions)
225225
real(dp), pointer :: eps_nuc_categories(:,:) ! (num_categories, nz)
226226
real(dp), pointer :: d_epsnuc_dlnd(:) ! partial wrt density
227227
real(dp), pointer :: d_epsnuc_dlnT(:) ! partial wrt temperature
228228
real(dp), pointer :: d_epsnuc_dx(:,:) ! (species,nz)
229229
! d_ex_dx(j, k) is partial of eps_nuc(k) wrt species(j)
230230

231-
real(dp), pointer :: eps_nuc_neu_total(:) ! erg/gm/sec as neutrinos from nuclear reactions
231+
real(dp), pointer :: eps_nuc_neu_total(:) ! erg/gm/sec, (positive) energy lost to neutrinos in nuclear reactions
232232

233233
real(dp), pointer :: dxdt_nuc(:,:) ! (species,nz)
234234
! rate of change of mass fractions from nuclear reactions
@@ -253,7 +253,7 @@
253253
real(dp), pointer :: luminosity_by_category(:,:) ! (num_categories, nz)
254254

255255
! non-nuclear-reaction neutrino losses
256-
real(dp), pointer :: non_nuc_neu(:)
256+
real(dp), pointer :: non_nuc_neu(:) ! positive
257257
real(dp), pointer :: d_nonnucneu_dlnd(:)
258258
real(dp), pointer :: d_nonnucneu_dlnT(:)
259259

0 commit comments

Comments
 (0)