DART-Ray
Functions/Subroutines | Variables
user_routines_trusti Module Reference

Contains the subroutines to specify the stellar emission and dust density distribution for the TRUST I slab benchmark. More...

Functions/Subroutines

subroutine read_input_trusti
 Reads input file for the grid creation for the TRUST I slab benchmark. More...
 
subroutine set_slab_density ()
 Set the slab density given the vertical optical depth at the reference wavenegth. More...
 
subroutine read_planck_table_trusti (lumstar)
 
real(kind=real64) function av_rho_dust_slab (x, y, z, cellsize)
 
subroutine set_trusti
 This routines sets the correct stellar luminosity. More...
 

Variables

real(kind=real64) tau_z
 
real(kind=real64) ndust
 
real(kind=real32), parameter lz_slab =3.
 
real(kind=real32), parameter z0_slab =-5
 
real(kind=real32), parameter z1_slab =-2
 
real(kind=real32), parameter x0_slab =-5
 
real(kind=real32), parameter x1_slab =5
 
real(kind=real32), parameter y0_slab =-5
 
real(kind=real32), parameter y1_slab =5
 
real(kind=real32), parameter x_star =0
 
real(kind=real32), parameter y_star =0
 
real(kind=real32), parameter z_star =4
 
integer min_lvl_in
 
character(len=lcar) subdivision_criteria
 

Detailed Description

Contains the subroutines to specify the stellar emission and dust density distribution for the TRUST I slab benchmark.

Function/Subroutine Documentation

real(kind=real64) function user_routines_trusti::av_rho_dust_slab ( 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_trusti::read_input_trusti ( )

Reads input file for the grid creation for the TRUST I slab benchmark.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine user_routines_trusti::read_planck_table_trusti ( real (kind=real64)  lumstar)

Here is the caller graph for this function:

subroutine user_routines_trusti::set_slab_density ( )

Set the slab density given the vertical optical depth at the reference wavenegth.

Here is the caller graph for this function:

subroutine user_routines_trusti::set_trusti ( )

This routines 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), parameter user_routines_trusti::lz_slab =3.
integer user_routines_trusti::min_lvl_in
Parameters
min_lvl_inMinimum subdivision level within the slab for the "standard" subdivision_criteria().
real(kind=real64) user_routines_trusti::ndust
Parameters
ndustDust number density / Extinction coefficient
character(len=lcar) user_routines_trusti::subdivision_criteria
Parameters
subdivision_criteriaSubdivision criteria to be used. Choices are:
  • 'standard': subdivision IF subdivision level < max_lvl() AND (cell upper border coinciding with slab upper border OR (cell optical depth > max_dtau AND subdivision level < min_lvl_in()) OR subdivision level < min_lvl())
real(kind=real64) user_routines_trusti::tau_z
Parameters
tau_zVertical optical depth of the slab at the reference wavelength.
real(kind=real32), parameter user_routines_trusti::x0_slab =-5
real(kind=real32), parameter user_routines_trusti::x1_slab =5
real(kind=real32), parameter user_routines_trusti::x_star =0
real(kind=real32), parameter user_routines_trusti::y0_slab =-5
real(kind=real32), parameter user_routines_trusti::y1_slab =5
real(kind=real32), parameter user_routines_trusti::y_star =0
real(kind=real32), parameter user_routines_trusti::z0_slab =-5
real(kind=real32), parameter user_routines_trusti::z1_slab =-2
real(kind=real32), parameter user_routines_trusti::z_star =4