diff --git a/.gitignore b/.gitignore index 069e15c6..ccab9a94 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,5 @@ my_utils/ #parameter files *.para +*.dat +utils/* \ No newline at end of file diff --git a/src/read_phantom.f90 b/src/read_phantom.f90 index 5d573abc..f9619ba2 100644 --- a/src/read_phantom.f90 +++ b/src/read_phantom.f90 @@ -1121,6 +1121,9 @@ subroutine phantom_2_mcfost(np,nptmass,ntypes,ndusttypes,ldust_moments,n_files,d etoile(i_etoile)%vz = vxyz_ptmass(3,i_etoile) * uvelocity etoile(i_etoile)%M = xyzmh_ptmass(4,i_etoile) * usolarmass + + ! TODO: Add conditions for forced Mdot + etoile(i_etoile)%Mdot = xyzmh_ptmass(16,i_etoile) * usolarmass / utime_scaled * year_to_s ! Accretion rate is in Msun/year enddo else