Modern astrophysics and cosmology particle-based code. Mirror of gitlab developments at https://gitlab.cosma.dur.ac.uk/swift/swiftsim
GNU Lesser General Public License v3.0
88
stars
58
forks
source link
Add three species from grackle mode 2 to GEARRT #48
Closed
boson112358 closed 6 months ago
allocate memory for three extra species
define a macro RT_N_SPECIES for counting the number of species in each mode and using in species_densities[RT_N_SPECIES]
add the initial condition for these species to be zero
in do_thermochemistry function, add three extra species and also update the electron number density calculation