From a53c29bfffb36fac698db82591dec5ceadcbecbf Mon Sep 17 00:00:00 2001
From: nickishch <nickishch@gmail.com>
Date: Wed, 9 Apr 2025 16:13:16 +0200
Subject: [PATCH] slightly less resistive

---
 src/mhd/DirectInduction/mhd.h      | 2 +-
 src/mhd/DirectInduction/mhd_iact.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mhd/DirectInduction/mhd.h b/src/mhd/DirectInduction/mhd.h
index ef83e64585..558eda981d 100644
--- a/src/mhd/DirectInduction/mhd.h
+++ b/src/mhd/DirectInduction/mhd.h
@@ -348,7 +348,7 @@ __attribute__((always_inline)) INLINE static void mhd_end_gradient(
   B[2] = p->mhd_data.B_over_rho[2] * rho;
 
   float OW;
-  OW = 1.0f;
+  OW = 2.0f;
 
   float absB;
   absB = sqrtf(B[0]*B[0]+B[1]*B[1]+B[2]*B[2]);
diff --git a/src/mhd/DirectInduction/mhd_iact.h b/src/mhd/DirectInduction/mhd_iact.h
index bcc766a34b..c22248179c 100644
--- a/src/mhd/DirectInduction/mhd_iact.h
+++ b/src/mhd/DirectInduction/mhd_iact.h
@@ -160,7 +160,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_mhd_gradient(
   /* Calculate OWAR */
 
   float OW;
-  OW = 1.0f;
+  OW = 2.0f;
 
   float absBi;
   absBi = sqrtf(Bi[0]*Bi[0]+Bi[1]*Bi[1]+Bi[2]*Bi[2]);
@@ -309,7 +309,7 @@ runner_iact_nonsym_mhd_gradient(const float r2, const float dx[3],
   /* Calculate OWAR */
 
   float OW;
-  OW = 1.0f;
+  OW = 2.0f;
 
   float absBj;
   absBj = sqrtf(Bj[0]*Bj[0]+Bj[1]*Bj[1]+Bj[2]*Bj[2]);
-- 
GitLab