From 3f0c61ea55ad67edb4f721975e19a0f58e32842e Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Thu, 14 Dec 2017 12:18:19 +0000 Subject: [PATCH] Removed incorrect test from the PAIR branching functions. --- src/runner_doiact.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/runner_doiact.h b/src/runner_doiact.h index a683c56930..a2d359edc4 100644 --- a/src/runner_doiact.h +++ b/src/runner_doiact.h @@ -981,11 +981,6 @@ void DOPAIR1_BRANCH(struct runner *r, struct cell *ci, struct cell *cj) { /* Anything to do here? */ if (!cell_is_active_hydro(ci, e) && !cell_is_active_hydro(cj, e)) return; - /* Did we mess up the recursion? */ - if (max(ci->h_max, cj->h_max) * kernel_gamma > ci->dmin || - max(ci->h_max, cj->h_max) * kernel_gamma > cj->dmin) - error("Cell smaller than smoothing length"); - /* Check that cells are drifted. */ if (!cell_are_part_drifted(ci, e) || !cell_are_part_drifted(cj, e)) error("Interacting undrifted cells."); @@ -1471,11 +1466,6 @@ void DOPAIR2_BRANCH(struct runner *r, struct cell *ci, struct cell *cj) { /* Anything to do here? */ if (!cell_is_active_hydro(ci, e) && !cell_is_active_hydro(cj, e)) return; - /* Did we mess up the recursion? */ - if (max(ci->h_max, cj->h_max) * kernel_gamma > ci->dmin || - max(ci->h_max, cj->h_max) * kernel_gamma > cj->dmin) - error("Cell smaller than smoothing length"); - /* Check that cells are drifted. */ if (!cell_are_part_drifted(ci, e) || !cell_are_part_drifted(cj, e)) error("Interacting undrifted cells."); -- GitLab