From 5f3a0797c9843e989c0ae1708db9f69dac30a9c6 Mon Sep 17 00:00:00 2001 From: David A Minton Date: Tue, 1 Mar 2022 14:01:31 -0500 Subject: [PATCH] Removed ntp==0 check to allow the discard code to run the coordinate conversions even if there are no test particles --- src/discard/discard.f90 | 1 - 1 file changed, 1 deletion(-) diff --git a/src/discard/discard.f90 b/src/discard/discard.f90 index 0fe86e8fa..558b8b899 100644 --- a/src/discard/discard.f90 +++ b/src/discard/discard.f90 @@ -78,7 +78,6 @@ module subroutine discard_tp(self, system, param) associate(tp => self, cb => system%cb, pl => system%pl) ntp = tp%nbody npl = pl%nbody - if ((ntp == 0) .or. (npl ==0)) return if ((param%rmin >= 0.0_DP) .or. (param%rmax >= 0.0_DP) .or. & (param%rmaxu >= 0.0_DP) .or. ((param%qmin >= 0.0_DP) .and. (param%qmin_coord == "BARY"))) then