Skip to content

Commit

Permalink
Merge pull request #509 from geodynamics/illorenzo7-patch-5
Browse files Browse the repository at this point in the history
Update Diagnostics_Thermal_Equation.F90
  • Loading branch information
feathern authored Jun 11, 2024
2 parents 21b0a1d + f315725 commit b1f1062
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Diagnostics/Diagnostics_Thermal_Equation.F90
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,7 @@ Subroutine Compute_Thermal_HeatSource(buffer)
!The "Flux" associated with the volume heating
If (compute_quantity(vol_heat_flux)) Then
! Note that radial_integral_weights give int{f r^2}/int(r^2}
tmp1d(N_R) = 0.0d0 ! Initialize heat flux to zero at lower boundary
Do r = N_R-1, 1,-1
mean_rho = half*(ref%density(r) + ref%density(r+1) )
mean_t = half*(ref%temperature(r) + ref%temperature(r+1))
Expand Down

0 comments on commit b1f1062

Please sign in to comment.