Skip to content

Commit

Permalink
Merge pull request #466 from emborchert/master
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljprice committed Sep 12, 2023
2 parents 9f6bba6 + a5ee42a commit f9f7252
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/setup/set_disc.F90
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,13 @@ subroutine set_disc(id,master,mixture,nparttot,npart,npart_start,rmin,rmax, &
!
sigma_normdust = 1.d0
if (do_mixture) then
if (present(r_grid)) then
rad_tmp = r_grid
else
do i=1,maxbins
rad_tmp(i) = R_indust + (i-1) * (R_outdust-R_indust)/real(maxbins-1)
enddo
endif
!--sigma_normdust set from dust disc mass
call get_disc_mass(disc_mdust,enc_m_tmp,rad_tmp,Q_tmp,sigmaprofiledust, &
sigma_normdust,star_m,p_indexdust,q_inddust, &
Expand Down

0 comments on commit f9f7252

Please sign in to comment.