class EigSimProp: """Represents properties of a FDFD simulation.""" eps: np.ndarray source: np.ndarray wlen: float dxes: List[np.ndarray] pml_layers: List[int] bloch_vec: np.ndarray = None symmetry: np.ndarray = goos.np_zero_field(3) fields: List[np.ndarray] = None omegas: List[complex] = None grid: gridlock.Grid = None
class FdfdSimProp: """Represents properties of a FDFD simulation.""" eps: np.ndarray source: np.ndarray wlen: float dxes: List[np.ndarray] pml_layers: List[int] bloch_vec: np.ndarray = None fields: np.ndarray = None grid: gridlock.Grid = None solver: Callable = None symmetry: np.ndarray = goos.np_zero_field(3)