From c1cb054eecd1c821040303ba5651d66a40a02e19 Mon Sep 17 00:00:00 2001
From: Antoine Hoffmann <antoine.hoffmann@epfl.ch>
Date: Thu, 6 Oct 2022 14:29:25 +0200
Subject: [PATCH] small correction to put z=0 when zpinch

---
 src/grid_mod.F90 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/grid_mod.F90 b/src/grid_mod.F90
index aa4f58b9..177999be 100644
--- a/src/grid_mod.F90
+++ b/src/grid_mod.F90
@@ -512,6 +512,7 @@ CONTAINS
     ! Ghosts boundaries (depend on the order of z operators)
     IF(Nz .EQ. 1) THEN
       izgs = izs;     izge = ize;
+      zarray(izs) = 0; zarray_full(izs) = 0;
     ELSEIF(Nz .GE. 4) THEN
       izgs = izs - 2; izge = ize + 2;
     ELSE
-- 
GitLab