API#

class jaxwell.Params(pml_ths: Tuple[Tuple[int, int], Tuple[int, int], Tuple[int, int]] = ((10, 10), (10, 10), (10, 10)), pml_omega: float = 1.0, eps: float = 1e-06, max_iters: int = 1000000)[source]#

Parameters for FDFD solves.

pml_ths#

((-x, +x), (-y, +y), (-z, +z)) PML thicknesses.

Type:

Tuple[Tuple[int, int], Tuple[int, int], Tuple[int, int]]

pml_omega#

Effective angular frequency to tune the PML to.

Type:

float

eps#

Error threshold stopping condition.

Type:

float

max_iters#

Iteration number stopping condition.

Type:

int