formatting fixes
This commit is contained in:
parent
8fc96c13ab
commit
061dbf59d1
4 changed files with 7 additions and 11 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -32,10 +32,10 @@ __author__ = 'Jan Petykiewicz'
|
|||
|
||||
|
||||
def operator_e(omega: complex,
|
||||
dxes: dx_lists_t,
|
||||
epsilon: vfield_t,
|
||||
mu: vfield_t = None,
|
||||
) -> sparse.spmatrix:
|
||||
dxes: dx_lists_t,
|
||||
epsilon: vfield_t,
|
||||
mu: vfield_t = None,
|
||||
) -> sparse.spmatrix:
|
||||
if numpy.any(numpy.equal(mu, None)):
|
||||
mu = numpy.ones_like(epsilon)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue