Skip to content
Snippets Groups Projects

Add Star formation spart struct

Merged Folkert Nobels requested to merge star_formation_birth_struct into master
22 files
+ 190
77
Compare changes
  • Side-by-side
  • Inline
Files
22
@@ -240,7 +240,7 @@ double eagle_feedback_energy_fraction(const struct spart* sp,
const double Z = chemistry_get_total_metal_mass_fraction_for_feedback(sp);
/* Physical density of the gas at the star's birth time */
const double rho_birth = sp->birth_density;
const double rho_birth = sp->sf_data.birth_density;
const double n_birth = rho_birth * props->rho_to_n_cgs;
/* Calculate f_E */
Loading