Skip to content

Commit

Permalink
Fix Python_magnetostatic_eb_3d
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Jul 24, 2023
1 parent a27e4a2 commit a314871
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Examples/Tests/magnetostatic_eb/PICMI_inputs_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@
Ex = fields.ExWrapper()
Ey = fields.EyWrapper()

x_vec = Ex.mesh('x') + xmin
y_vec = Ex.mesh('y') + ymin
z_vec = Ex.mesh('z') + zmin
x_vec = Ex.mesh('x')
y_vec = Ex.mesh('y')
z_vec = Ex.mesh('z')

@np.vectorize
def Er_an(r):
Expand Down Expand Up @@ -214,9 +214,9 @@ def Er_an(r):
Bx = fields.BxWrapper()
By = fields.ByWrapper()

x_vec = Bx.mesh('x') + xmin
y_vec = Bx.mesh('y') + ymin
z_vec = Bx.mesh('z') + zmin
x_vec = Bx.mesh('x')
y_vec = Bx.mesh('y')
z_vec = Bx.mesh('z')

dx = x_vec[1] - x_vec[0]
dy = y_vec[1] - y_vec[0]
Expand Down

0 comments on commit a314871

Please sign in to comment.