From 05ca852cd097f910aabb9da8b742074178a1b75d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Vi=C3=A9?= <benoit.vie@meteo.fr>
Date: Fri, 26 Aug 2022 14:58:20 +0200
Subject: [PATCH] bugfix droplets accretion by rain if nmomc=1 and nmomr=1

---
 src/MNH/lima_droplets_accretion.f90 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/MNH/lima_droplets_accretion.f90 b/src/MNH/lima_droplets_accretion.f90
index f7e518b64..c7a4232fd 100644
--- a/src/MNH/lima_droplets_accretion.f90
+++ b/src/MNH/lima_droplets_accretion.f90
@@ -133,7 +133,7 @@ ELSE IF (NMOM_C.EQ.1 .AND. NMOM_R.EQ.1) THEN
    GACCR(:) = PRRT(:)>XRTMIN(3) .AND. &
               PRCT(:)>XRTMIN(2)
    WHERE ( GACCR(:) )
-      P_RC_ACCR(:) = XFCACCR * PRCT(:)      &
+      P_RC_ACCR(:) = - XFCACCR * PRCT(:)    &
                    * PLBDR(:)**XEXCACCR     &
                    * PRHODREF(:)**(-XCEXVT)
    END WHERE
-- 
GitLab