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

Change the star particles and include chemistry struct

parent cb78dad5
No related branches found
No related tags found
1 merge request!705Star formation following Schaye08
...@@ -23,6 +23,9 @@ ...@@ -23,6 +23,9 @@
/* Some standard headers. */ /* Some standard headers. */
#include <stdlib.h> #include <stdlib.h>
/* Read chemistry */
#include "chemistry_struct.h"
/** /**
* @brief Particle fields for the star particles. * @brief Particle fields for the star particles.
* *
...@@ -51,10 +54,10 @@ struct spart { ...@@ -51,10 +54,10 @@ struct spart {
/*! Star mass */ /*! Star mass */
float mass; float mass;
/* Initial star mass */ /*! Initial star mass */
float mass_init; float mass_init;
/* Stellar age */ /*! Stellar age */
float age; float age;
/* Particle cutoff radius. */ /* Particle cutoff radius. */
...@@ -72,7 +75,7 @@ struct spart { ...@@ -72,7 +75,7 @@ struct spart {
} density; } density;
/* structure with all metallicities */ /*! Chemistry structure */
struct chemistry_part_data chemistry_data; struct chemistry_part_data chemistry_data;
#ifdef SWIFT_DEBUG_CHECKS #ifdef SWIFT_DEBUG_CHECKS
...@@ -120,12 +123,6 @@ struct stars_props { ...@@ -120,12 +123,6 @@ struct stars_props {
/*! Maximal change of h over one time-step */ /*! Maximal change of h over one time-step */
float log_max_h_change; float log_max_h_change;
/*! Fixed mass ratio Ca to Si */
float Ca_to_Si;
/*! Fixed mass ratio S to Si */
float S_to_Si;
}; };
#endif /* SWIFT_EAGLE_STAR_PART_H */ #endif /* SWIFT_EAGLE_STAR_PART_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment