From e1fb8eded24a4cc4e9ab822373c33d4f79ff028f Mon Sep 17 00:00:00 2001 From: Yann Garniron Date: Mon, 20 Nov 2017 10:56:04 +0100 Subject: [PATCH] hardcoded and arbitrary target absolute error for mrcc_zmq --- plugins/mrcepa0/mrcc_stoch_routines.irp.f | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/mrcepa0/mrcc_stoch_routines.irp.f b/plugins/mrcepa0/mrcc_stoch_routines.irp.f index 7aa54c36..8418caec 100644 --- a/plugins/mrcepa0/mrcc_stoch_routines.irp.f +++ b/plugins/mrcepa0/mrcc_stoch_routines.irp.f @@ -250,8 +250,7 @@ subroutine mrcc_collector(E, relative_error, delta, delta_s2, mrcc) E0 = E0 + mrcc_detail(1, first_det_of_teeth(cp_first_tooth(cur_cp))) * (1d0-fractage(cp_first_tooth(cur_cp))) end if call wall_time(time) - !if ((dabs(eqt) < relative_error*0d0 .and. cps_N(cur_cp) >= 30) .or. total_computed == N_det_generators) then - if(cur_cp > 10) then + if ((dabs(eqt) < relative_error .and. cps_N(cur_cp) >= 30) .or. total_computed == N_det_generators) then ! Termination !print '(G10.3, 2X, F16.7, 2X, G16.3, 2X, F16.4, A20)', Nabove(tooth), avg+E, eqt, time-time0, '' print *, "GREPME", cur_cp, E+E0+avg, eqt, time-time0, total_computed