From e676846eae22a2b5a8c829a1fd352e2aa01d4852 Mon Sep 17 00:00:00 2001 From: Folkert Nobels <nobels@strw.leidenuniv.nl> Date: Mon, 26 Nov 2018 16:39:05 +0100 Subject: [PATCH] Add constant fractions to code --- src/stars/Eagle/stars_part.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/stars/Eagle/stars_part.h b/src/stars/Eagle/stars_part.h index 4f77926a1d..5f12c369c6 100644 --- a/src/stars/Eagle/stars_part.h +++ b/src/stars/Eagle/stars_part.h @@ -1,10 +1,7 @@ /******************************************************************************* * This file is part of SWIFT. * Copyright (c) 2016 Matthieu Schaller (matthieu.schaller@durham.ac.uk) -<<<<<<< HEAD * 2018 Folkert Nobels (nobels@strw.leidenuniv.nl) -======= ->>>>>>> Add Eagle stars * * 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 @@ -126,6 +123,12 @@ 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 */ -- GitLab