From ed336b278ff4f3723d0884ffb71ac4fb518967a9 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Keck <jean-baptiste.keck@imag.fr> Date: Sat, 10 Mar 2018 11:09:49 +0100 Subject: [PATCH] host version quickfix --- hysop/backend/host/python/operator/directional/advection_dir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hysop/backend/host/python/operator/directional/advection_dir.py b/hysop/backend/host/python/operator/directional/advection_dir.py index d3fb188e4..5c7055df8 100644 --- a/hysop/backend/host/python/operator/directional/advection_dir.py +++ b/hysop/backend/host/python/operator/directional/advection_dir.py @@ -390,7 +390,7 @@ class PythonDirectionalAdvection(DirectionalAdvectionBase, HostDirectionalOperat # sum remeshed ghosts for sout in dsoutputs.values(): - sout.accumulate_ghosts(directions=-1, ghosts=self.remesh_ghosts) + sout.accumulate_ghosts(directions=sout.dim-1, ghosts=self.remesh_ghosts) if self.DEBUG: print 'S (after accumulation, before ghost exchange)' -- GitLab