Return: -> Returns:

This commit is contained in:
Jan Petykiewicz 2021-07-11 17:26:03 -07:00
parent a6ae3da4b1
commit 204afb8024
2 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ def e_full(omega: complex,
epsilon: Dielectric constant epsilon: Dielectric constant
mu: Magnetic permeability (default 1 everywhere) mu: Magnetic permeability (default 1 everywhere)
Return: Returns:
Function `f` implementing the wave operator Function `f` implementing the wave operator
`f(E)` -> `-i * omega * J` `f(E)` -> `-i * omega * J`
""" """
@ -99,7 +99,7 @@ def e2h(omega: complex,
dxes: Grid parameters `[dx_e, dx_h]` as described in `meanas.fdmath.types` dxes: Grid parameters `[dx_e, dx_h]` as described in `meanas.fdmath.types`
mu: Magnetic permeability (default 1 everywhere) mu: Magnetic permeability (default 1 everywhere)
Return: Returns:
Function `f` for converting `E` to `H`, Function `f` for converting `E` to `H`,
`f(E)` -> `H` `f(E)` -> `H`
""" """

View File

@ -603,7 +603,7 @@ def curl_e(wavenumber: complex, dxes: dx_lists_t) -> sparse.spmatrix:
wavenumber: Wavenumber assuming fields have z-dependence of `exp(-i * wavenumber * z)` wavenumber: Wavenumber assuming fields have z-dependence of `exp(-i * wavenumber * z)`
dxes: Grid parameters `[dx_e, dx_h]` as described in `meanas.fdmath.types` (2D) dxes: Grid parameters `[dx_e, dx_h]` as described in `meanas.fdmath.types` (2D)
Return: Returns:
Sparse matrix representation of the operator. Sparse matrix representation of the operator.
""" """
n = 1 n = 1
@ -623,7 +623,7 @@ def curl_h(wavenumber: complex, dxes: dx_lists_t) -> sparse.spmatrix:
wavenumber: Wavenumber assuming fields have z-dependence of `exp(-i * wavenumber * z)` wavenumber: Wavenumber assuming fields have z-dependence of `exp(-i * wavenumber * z)`
dxes: Grid parameters `[dx_e, dx_h]` as described in `meanas.fdmath.types` (2D) dxes: Grid parameters `[dx_e, dx_h]` as described in `meanas.fdmath.types` (2D)
Return: Returns:
Sparse matrix representation of the operator. Sparse matrix representation of the operator.
""" """
n = 1 n = 1