Skip to content
Snippets Groups Projects
Commit 8c1aea24 authored by Folkert Nobels's avatar Folkert Nobels
Browse files

Update star particles to have EAGLE chemistry

parent 1437a7b7
No related branches found
No related tags found
1 merge request!705Star formation following Schaye08
......@@ -50,7 +50,7 @@ struct spart {
/*! Star mass */
float mass;
/* Initial star mass */
float mass_init;
......@@ -73,43 +73,7 @@ struct spart {
} density;
/* structure with all metallicities */
struct metallicity {
/* Hydrogen abundance */
float X;
/* Helium abundance */
float Y;
/* Abundance all metals */
float Z;
/* Abundance Carbon */
float C;
/* Abundance Nitrogen */
float N;
/* Abundance Oxygen */
float O;
/* Abundance Neon */
float Ne;
/* Abundance Magnesium */
float Mg;
/* Abundance Silicon */
float Si;
/* Abundance Sulfur */
float S;
/* Abundance Calcium */
float Ca;
/* Abundance Iron */
float Fe;
};
struct chemistry_part_data chemistry_data;
#ifdef SWIFT_DEBUG_CHECKS
......@@ -159,7 +123,7 @@ struct stars_props {
/*! Fixed mass ratio Ca to Si */
float Ca_to_Si;
/*! Fixed mass ratio S to Si */
float S_to_Si;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment