DART-Ray
|
Data Types | |
type | user_routines_nbody_sph::irr_arr |
Data type used for pcell_index arrays (pcell_index_star() and pcell_index_gas()). More... | |
Modules | |
module | user_routines_nbody_sph |
Contains the subroutines to specify the stellar emission and dust density distribution for N-body/SPH galaxy simulations. | |
Functions/Subroutines | |
subroutine | user_routines_nbody_sph::read_input_nbody_sph |
Reads input file for grid creation. More... | |
subroutine | user_routines_nbody_sph::set_kext_gas (lambda_in) |
Sets extinction coefficient kext in units of parsec^2/Msun. More... | |
subroutine | user_routines_nbody_sph::create_grid_index |
Creates a grid index for the stellar and gas particles so it is quicker to find particles in a certain region of space. More... | |
subroutine | user_routines_nbody_sph::av_galaxy (x, y, z, cellsize, av_dust, av_stars, av_gas, av_st_mass, cc) |
subroutine | user_routines_nbody_sph::print_pcell |
Prints the pcell_star() and pcell_gas() arrays in an output file (file_pcell() ). More... | |
subroutine | user_routines_nbody_sph::read_pcell |
Reads pcell_star() and pcell_gas() from file_pcell(). More... | |
subroutine | user_routines_nbody_sph::make_pcell_index |
Creates an index array for each cell pointing to the particles contained in that cell. Using this index, the lambda grid creation is faster. More... | |
subroutine | user_routines_nbody_sph::find_first_element (arr, i0) |
finds first non zero element of an integer array. More... | |
subroutine | user_routines_nbody_sph::find_i_range (arr, i, i0, i1) |
Finds range of subscripts where an integer array has the value "i". It requires that the array is sorted and that i0 is the subscript of an element before the first with value "i". More... | |
subroutine | user_routines_nbody_sph::assign_dens_to_parent |
This routine assigns the dens values to subdivided parent cells. This is necessary in the lambda grid creation because in that case only the leaf cells have the dens values already calculated. More... | |
Variables | |
real(kind=real64) | user_routines_nbody_sph::lambda_min |
real(kind=real64) | user_routines_nbody_sph::lambda_max |
integer, parameter, private | user_routines_nbody_sph::nstep_g =10 |
type(var_arr_1d), dimension(:,:,:), allocatable | user_routines_nbody_sph::sec_ind_star |
type(var_arr_1d), dimension(:,:,:), allocatable | user_routines_nbody_sph::sec_ind_gas |
integer, dimension(:,:,:), allocatable | user_routines_nbody_sph::k_sec_ind_star |
integer, dimension(:,:,:), allocatable | user_routines_nbody_sph::k_sec_ind_gas |
real(kind=real64) | user_routines_nbody_sph::gastemp_limit = 1E6 |
type(irr_arr), dimension(:), allocatable | user_routines_nbody_sph::pcell_index_star |
type(irr_arr), dimension(:), allocatable | user_routines_nbody_sph::pcell_index_gas |
character(len=lcar) | user_routines_nbody_sph::subdivision_criteria |