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

Add constant fractions to code

parent ecd93843
No related branches found
No related tags found
1 merge request!705Star formation following Schaye08
/******************************************************************************* /*******************************************************************************
* This file is part of SWIFT. * This file is part of SWIFT.
* Copyright (c) 2016 Matthieu Schaller (matthieu.schaller@durham.ac.uk) * Copyright (c) 2016 Matthieu Schaller (matthieu.schaller@durham.ac.uk)
<<<<<<< HEAD
* 2018 Folkert Nobels (nobels@strw.leidenuniv.nl) * 2018 Folkert Nobels (nobels@strw.leidenuniv.nl)
=======
>>>>>>> Add Eagle stars
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published * it under the terms of the GNU Lesser General Public License as published
...@@ -126,6 +123,12 @@ struct stars_props { ...@@ -126,6 +123,12 @@ 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