From e84a76dc610d75b78cd4c9bd9ace7231239013b7 Mon Sep 17 00:00:00 2001 From: Nicolas Aunai Date: Sun, 11 Apr 2021 10:18:25 +0200 Subject: [PATCH] oops --- pyphare/pyphare/pharesee/run.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyphare/pyphare/pharesee/run.py b/pyphare/pyphare/pharesee/run.py index 6ae7ae5d4..fba9f5dae 100644 --- a/pyphare/pyphare/pharesee/run.py +++ b/pyphare/pyphare/pharesee/run.py @@ -26,10 +26,10 @@ def _current1d(by, bz, xby, xbz): def _compute_current(patch): - By = patch.patch_datas["B_y"].dataset[:] - xby = patch.patch_datas["B_y"].x - Bz = patch.patch_datas["B_z"].dataset[:] - xbz = patch.patch_datas["B_z"].x + By = patch.patch_datas["By"].dataset[:] + xby = patch.patch_datas["By"].x + Bz = patch.patch_datas["Bz"].dataset[:] + xbz = patch.patch_datas["Bz"].x Jy, Jz = _current1d(By, Bz, xby, xbz) return ({"name":"J_y", "data":Jy,"centering":"primal"}, {"name":"J_z", "data":Jz,"centering":"primal"})