Skip to content

Commit

Permalink
(moddump_radiotde) solve compiling warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Monash-Fitz-Hu committed Oct 9, 2023
1 parent 3991080 commit d067d47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/moddump_radiotde.f90
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ real function rho_tab(r)
real :: logrho1,logrho2,logrho_tab
real :: gradient

rho_tab = 0.
do i = 1,nprof-1
if (r > rad_prof(i) .and. r < rad_prof(i+1)) then
select case (interpolation)
Expand Down Expand Up @@ -261,6 +262,7 @@ real function get_temp_r(r,rad_prof,temp_prof)
integer :: i
real :: t1,r1

get_temp_r = temperature
do i = 1,nprof
if (r > rad_prof(i) .and. r < rad_prof(i+1)) then
t1 = temp_prof(i)
Expand Down

0 comments on commit d067d47

Please sign in to comment.