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