From 7856b3acf3582a4ba5912cfc62f98dec07308de7 Mon Sep 17 00:00:00 2001 From: Mladen Ivkvoic <mladen.ivkovic@hotmail.com> Date: Sat, 23 Oct 2021 20:52:07 +0200 Subject: [PATCH] added depth_h to gizmo parts --- src/hydro/Gizmo/MFM/hydro_part.h | 3 +++ src/hydro/Gizmo/MFV/hydro_part.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/hydro/Gizmo/MFM/hydro_part.h b/src/hydro/Gizmo/MFM/hydro_part.h index 1f6f3c7147..81687e71b5 100644 --- a/src/hydro/Gizmo/MFM/hydro_part.h +++ b/src/hydro/Gizmo/MFM/hydro_part.h @@ -178,6 +178,9 @@ struct part { /*! Time-step length */ timebin_t time_bin; + /*! Tree-depth at which size / 2 <= h * gamma < size */ + char depth_h; + /*! Time-step limiter information */ struct timestep_limiter_data limiter_data; diff --git a/src/hydro/Gizmo/MFV/hydro_part.h b/src/hydro/Gizmo/MFV/hydro_part.h index e734c6ca9d..8e2f38e4e4 100644 --- a/src/hydro/Gizmo/MFV/hydro_part.h +++ b/src/hydro/Gizmo/MFV/hydro_part.h @@ -182,6 +182,9 @@ struct part { /*! Time-step length */ timebin_t time_bin; + /*! Tree-depth at which size / 2 <= h * gamma < size */ + char depth_h; + /*! Time-step limiter information */ struct timestep_limiter_data limiter_data; -- GitLab