¶
Shape Types¶
fdtdx.typing.RealShape3D = tuple[float, float, float]
module-attribute
¶
3D shape with real-valued (physical) dimensions in meters.
fdtdx.typing.PartialRealShape3D = tuple[OptionalAxisSize, OptionalAxisSize, OptionalAxisSize]
module-attribute
¶
Partial 3D shape where some physical dimensions may be undefined (None).
fdtdx.typing.GridShape3D = tuple[int, int, int]
module-attribute
¶
3D shape with integer dimensions in grid points.
fdtdx.typing.PartialGridShape3D = tuple[OptionalGridAxisSize, OptionalGridAxisSize, OptionalGridAxisSize]
module-attribute
¶
Partial 3D grid shape where some dimensions may be undefined (None).
Backed¶
fdtdx.typing.BackendOption = Literal['gpu', 'tpu', 'cpu', 'METAL']
module-attribute
¶
Backend options for JAX. Can be either gpu, tpu, cpu or METAL