formatting fixes
This commit is contained in:
parent
8fc96c13ab
commit
061dbf59d1
@ -219,4 +219,3 @@ def poynting_e_cross_h(dxes: dx_lists_t):
|
||||
s[2] = numpy.roll(ex, -1, axis=2) * hy - numpy.roll(ey, -1, axis=2) * hx
|
||||
return s
|
||||
return exh
|
||||
|
||||
|
@ -37,7 +37,7 @@ def conducting_boundary(direction: int,
|
||||
|
||||
return en, hn
|
||||
|
||||
elif polarity > 0:
|
||||
if polarity > 0:
|
||||
boundary_slice = [slice(None)] * 3
|
||||
shifted1_slice = [slice(None)] * 3
|
||||
shifted2_slice = [slice(None)] * 3
|
||||
@ -62,7 +62,4 @@ def conducting_boundary(direction: int,
|
||||
|
||||
return ep, hp
|
||||
|
||||
else:
|
||||
raise Exception('Bad polarity: {}'.format(polarity))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user