From 42942317199fd1101c00256793f81e419ac42f89 Mon Sep 17 00:00:00 2001 From: Sierd Date: Tue, 25 Nov 2025 20:31:33 +0100 Subject: [PATCH] new work on padding --- aeolis/utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aeolis/utils.py b/aeolis/utils.py index 9001abfb..cc7d7c2b 100644 --- a/aeolis/utils.py +++ b/aeolis/utils.py @@ -526,10 +526,10 @@ def sweep(Ct, Cu, mass, dt, Ts, ds, dn, us, un, w): # ufn[:,:,:] = ufn[-2,:,:] # also correct for the potential gradients at the boundary cells in the equilibrium concentrations - Cu[:,0,:] = Cu[:,1,:] - Cu[:,-1,:] = Cu[:,-2,:] - Cu[0,:,:] = Cu[1,:,:] - Cu[-1,:,:] = Cu[-2,:,:] + # Cu[:,0,:] = Cu[:,1,:] + # Cu[:,-1,:] = Cu[:,-2,:] + # Cu[0,:,:] = Cu[1,:,:] + # Cu[-1,:,:] = Cu[-2,:,:] # #boundary values # ufs[:,0, :] = us[:,0, :]