From a106ce9c76326d9135e576b8c2d35c9bf9e7d839 Mon Sep 17 00:00:00 2001
From: Quentin Rodier <quentin.rodier@meteo.fr>
Date: Fri, 21 Jan 2022 17:28:54 +0100
Subject: [PATCH] Quentin 21/01/2022: bugfix last commit, mode_tools already
 exists in tools.F90

---
 src/arome/aux/mode_tools.F90 | 19 -------------------
 src/common/aux/tools.F90     | 16 ++++++++++++++++
 2 files changed, 16 insertions(+), 19 deletions(-)
 delete mode 100644 src/arome/aux/mode_tools.F90

diff --git a/src/arome/aux/mode_tools.F90 b/src/arome/aux/mode_tools.F90
deleted file mode 100644
index 58f4710ad..000000000
--- a/src/arome/aux/mode_tools.F90
+++ /dev/null
@@ -1,19 +0,0 @@
-MODULE MODE_TOOLS
-IMPLICIT NONE
-CONTAINS
-LOGICAL FUNCTION LNORTH_ll()
-  LNORTH_ll=.FALSE.
-END FUNCTION LNORTH_ll
-!
-LOGICAL FUNCTION LEAST_ll()
-  LEAST_ll=.FALSE.
-END FUNCTION LEAST_ll
-!
-LOGICAL FUNCTION LWEST_ll()
-  LWEST_ll=.FALSE.
-END FUNCTION LWEST_ll
-!
-LOGICAL FUNCTION LSOUTH_ll()
-  LSOUTH_ll=.FALSE.
-END FUNCTION LSOUTH_ll
-END MODULE MODE_TOOLS
diff --git a/src/common/aux/tools.F90 b/src/common/aux/tools.F90
index 5ecd4e2f8..6f4d82c5d 100644
--- a/src/common/aux/tools.F90
+++ b/src/common/aux/tools.F90
@@ -136,4 +136,20 @@ function Upcase(hstring)
   end do
 end function Upcase
 
+LOGICAL FUNCTION LNORTH_ll()
+  LNORTH_ll=.FALSE.
+END FUNCTION LNORTH_ll
+!
+LOGICAL FUNCTION LEAST_ll()
+  LEAST_ll=.FALSE.
+END FUNCTION LEAST_ll
+!
+LOGICAL FUNCTION LWEST_ll()
+  LWEST_ll=.FALSE.
+END FUNCTION LWEST_ll
+!
+LOGICAL FUNCTION LSOUTH_ll()
+  LSOUTH_ll=.FALSE.
+END FUNCTION LSOUTH_ll
+
 end module mode_tools
-- 
GitLab