From 76c88d1561a9e3cf7186a99d71d6af9d5dc9d519 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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/stars/Eagle/stars_part.h b/src/stars/Eagle/stars_part.h index cb5df32002..b8a942fe22 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 @@ -81,6 +78,7 @@ struct spart { /*! Chemistry structure */ struct chemistry_part_data chemistry_data; + #ifdef SWIFT_DEBUG_CHECKS /* Time of the last drift */ @@ -126,6 +124,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