From d34d362a8cac6e5ea2e3220c36084a5d0f44ba29 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Fri, 6 Mar 2026 14:25:05 +0100 Subject: [PATCH] condensation dynamic: removing code which repeats what is done within the backend (?) --- PySDM/dynamics/condensation.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/PySDM/dynamics/condensation.py b/PySDM/dynamics/condensation.py index d6fed1e241..81a153f48d 100644 --- a/PySDM/dynamics/condensation.py +++ b/PySDM/dynamics/condensation.py @@ -119,14 +119,3 @@ def __call__(self): # note: this makes order of dynamics matter # (e.g., condensation after chemistry or before) self.particulator.update_TpRH() - - if self.adaptive: - self.counters["n_substeps"][:] = np.maximum( - self.counters["n_substeps"][:], - int(self.particulator.dt / self.dt_cond_range[1]), - ) - if self.dt_cond_range[0] != 0: - self.counters["n_substeps"][:] = np.minimum( - self.counters["n_substeps"][:], - int(self.particulator.dt / self.dt_cond_range[0]), - )