Skip to content
Snippets Groups Projects
Commit b82553ea authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Also add the new particle-carried variables to the other relevant schemes

parent b8cb4126
No related branches found
No related tags found
1 merge request!1353Draft: Subtask speedup - Still requires work
...@@ -181,6 +181,9 @@ struct part { ...@@ -181,6 +181,9 @@ struct part {
/*! Time-step length */ /*! Time-step length */
timebin_t time_bin; timebin_t time_bin;
/*! Tree-depth at which size / 2 <= h * gamma < size */
char depth_h;
/*! Time-step limiter information */ /*! Time-step limiter information */
struct timestep_limiter_data limiter_data; struct timestep_limiter_data limiter_data;
......
...@@ -199,6 +199,9 @@ struct part { ...@@ -199,6 +199,9 @@ struct part {
/*! Time-step length */ /*! Time-step length */
timebin_t time_bin; timebin_t time_bin;
/*! Tree-depth at which size / 2 <= h * gamma < size */
char depth_h;
/*! Time-step limiter information */ /*! Time-step limiter information */
struct timestep_limiter_data limiter_data; struct timestep_limiter_data limiter_data;
......
...@@ -81,6 +81,9 @@ struct spart { ...@@ -81,6 +81,9 @@ struct spart {
/*! Particle time bin */ /*! Particle time bin */
timebin_t time_bin; timebin_t time_bin;
/*! Tree-depth at which size / 2 <= h * gamma < size */
char depth_h;
/*! Star formation struct */ /*! Star formation struct */
struct star_formation_spart_data sf_data; struct star_formation_spart_data sf_data;
......
...@@ -107,6 +107,9 @@ struct spart { ...@@ -107,6 +107,9 @@ struct spart {
/*! Particle time bin */ /*! Particle time bin */
timebin_t time_bin; timebin_t time_bin;
/*! Tree-depth at which size / 2 <= h * gamma < size */
char depth_h;
#ifdef SWIFT_DEBUG_CHECKS #ifdef SWIFT_DEBUG_CHECKS
/* Time of the last drift */ /* Time of the last drift */
......
...@@ -58,6 +58,9 @@ struct spart { ...@@ -58,6 +58,9 @@ struct spart {
/*! Particle time bin */ /*! Particle time bin */
timebin_t time_bin; timebin_t time_bin;
/*! Tree-depth at which size / 2 <= h * gamma < size */
char depth_h;
/*! Splitting structure */ /*! Splitting structure */
struct particle_splitting_data split_data; struct particle_splitting_data split_data;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment