DART-Ray
Functions/Subroutines | Variables
user_routines_magtar Module Reference

Contains the subroutines to specify the stellar emission and dust density distribution for the dust geometries as in Natale et al.(2017, ApJ, 837, 9). These include shell, cavity and wind geometries. More...

Functions/Subroutines

subroutine read_input_magtar
 Reads input file for the grid creation for the magtar models. More...
 
subroutine set_mag_model_density ()
 Sets dust density for the specified dust_geometry(). More...
 
real(kind=real64) function av_rho_dust_shell (x, y, z, cellsize)
 
real(kind=real64) function av_rho_dust_cavity (x, y, z, cellsize)
 
real(kind=real64) function av_rho_dust_wind (x, y, z, cellsize)
 
subroutine set_magtar
 Sets the correct stellar luminosity. More...
 
subroutine read_assign_param_src
 

Variables

real(kind=real64) tau_z
 
real(kind=real64) ndust
 
real(kind=real32) ax =0
 
real(kind=real32) by =0
 
real(kind=real32) cz =0
 
real(kind=real64) elrad_width =0
 
character *8 dust_geometry
 
real(kind=real64) r_subd_lim
 
character(len=lcar) subdivision_criteria
 

Detailed Description

Contains the subroutines to specify the stellar emission and dust density distribution for the dust geometries as in Natale et al.(2017, ApJ, 837, 9). These include shell, cavity and wind geometries.

Function/Subroutine Documentation

real(kind=real64) function user_routines_magtar::av_rho_dust_cavity ( real(kind=real64)  x,
real(kind=real64)  y,
real(kind=real64)  z,
real(kind=real64)  cellsize 
)

Here is the caller graph for this function:

real(kind=real64) function user_routines_magtar::av_rho_dust_shell ( real(kind=real64)  x,
real(kind=real64)  y,
real(kind=real64)  z,
real(kind=real64)  cellsize 
)

Here is the caller graph for this function:

real(kind=real64) function user_routines_magtar::av_rho_dust_wind ( real(kind=real64)  x,
real(kind=real64)  y,
real(kind=real64)  z,
real(kind=real64)  cellsize 
)

Here is the caller graph for this function:

subroutine user_routines_magtar::read_assign_param_src ( )

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine user_routines_magtar::read_input_magtar ( )

Reads input file for the grid creation for the magtar models.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine user_routines_magtar::set_mag_model_density ( )

Sets dust density for the specified dust_geometry().

Here is the caller graph for this function:

subroutine user_routines_magtar::set_magtar ( )

Sets the correct stellar luminosity.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

real(kind=real32) user_routines_magtar::ax =0
Parameters
axEllipsoidal semi-axis along the X-axis.
real(kind=real32) user_routines_magtar::by =0
Parameters
byEllipsoidal semi-axis along the Y-axis.
real(kind=real32) user_routines_magtar::cz =0
Parameters
czEllipsoidal semi-axis along the Z-axis.
character*8 user_routines_magtar::dust_geometry
Parameters
dust_geometryType of dust geometries. Choices: 'shell', 'cavity', 'wind'. See corresponding av_rho_dust subroutines for the assumed formula.
real(kind=real64) user_routines_magtar::elrad_width =0
Parameters
elrad_widthSemi-width of the dust shell in normalized radial units.
real(kind=real64) user_routines_magtar::ndust
Parameters
Dustnumber density / Extinction coefficient
real(kind=real64) user_routines_magtar::r_subd_lim
Parameters
R_subd_limnormalized R coordinate below which cells have to be subdivided if their optical depth is higher than max_dtau().
character(len=lcar) user_routines_magtar::subdivision_criteria
Parameters
subdivision_criteriaSubdivision criteria to be used. Choices are: 'shell': subdivide IF subdivision level < max_lvl() AND (cell optical depth > max_dtau OR subdivision level < min_lvl()) 'cavity': subdivide IF subdivision level < max_lvl() AND (cell optical depth > max_dtau AND R < R_subd_lim) 'wind' : same as for 'cavity'
real(kind=real64) user_routines_magtar::tau_z
Parameters
tau_zOptical depth per pc at the reference wavelength.