Skip to content

Commit

Permalink
BUGFIX - fixes #434
Browse files Browse the repository at this point in the history
  • Loading branch information
emborchert committed Sep 12, 2023
1 parent 377b2c0 commit a5ee42a
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 a5ee42a

Please sign in to comment.