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

Update star particles to have EAGLE chemistry

parent 7d5d4b8a
No related branches found
No related tags found
1 merge request!705Star formation following Schaye08
...@@ -50,7 +50,7 @@ struct spart { ...@@ -50,7 +50,7 @@ struct spart {
/*! Star mass */ /*! Star mass */
float mass; float mass;
/* Initial star mass */ /* Initial star mass */
float mass_init; float mass_init;
...@@ -73,43 +73,7 @@ struct spart { ...@@ -73,43 +73,7 @@ struct spart {
} density; } density;
/* structure with all metallicities */ /* structure with all metallicities */
struct metallicity { struct chemistry_part_data chemistry_data;
/* 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;
};
#ifdef SWIFT_DEBUG_CHECKS #ifdef SWIFT_DEBUG_CHECKS
...@@ -159,7 +123,7 @@ struct stars_props { ...@@ -159,7 +123,7 @@ struct stars_props {
/*! Fixed mass ratio Ca to Si */ /*! Fixed mass ratio Ca to Si */
float Ca_to_Si; float Ca_to_Si;
/*! Fixed mass ratio S to Si */ /*! Fixed mass ratio S to Si */
float 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