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...
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.
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 |
|
) |
| |
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 |
|
) |
| |
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 |
|
) |
| |
subroutine user_routines_magtar::read_assign_param_src |
( |
| ) |
|
subroutine user_routines_magtar::read_input_magtar |
( |
| ) |
|
Reads input file for the grid creation for the magtar models.
subroutine user_routines_magtar::set_mag_model_density |
( |
| ) |
|
subroutine user_routines_magtar::set_magtar |
( |
| ) |
|
Sets the correct stellar luminosity.
real(kind=real32) user_routines_magtar::ax =0 |
- Parameters
-
ax | Ellipsoidal semi-axis along the X-axis. |
real(kind=real32) user_routines_magtar::by =0 |
- Parameters
-
by | Ellipsoidal semi-axis along the Y-axis. |
real(kind=real32) user_routines_magtar::cz =0 |
- Parameters
-
cz | Ellipsoidal semi-axis along the Z-axis. |
character*8 user_routines_magtar::dust_geometry |
- Parameters
-
dust_geometry | Type 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_width | Semi-width of the dust shell in normalized radial units. |
real(kind=real64) user_routines_magtar::ndust |
- Parameters
-
Dust | number density / Extinction coefficient |
real(kind=real64) user_routines_magtar::r_subd_lim |
- Parameters
-
R_subd_lim | normalized 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_criteria | Subdivision 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_z | Optical depth per pc at the reference wavelength. |