Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasaunai committed Apr 11, 2021
1 parent 1caa8b8 commit e84a76d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyphare/pyphare/pharesee/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"})
Expand Down

0 comments on commit e84a76d

Please sign in to comment.