v0.3.0
This release includes the following enhancements to FDTDX:
- Implementation of Conductivity model. An electric conductivity can be specified corresponding to the imaginary part of permittivity and a magnetic conductivity for permeability respectively. The implementation also works in reverse time stepping using a specific gain term. This enables memory efficient gradient computation.
- Memory Improvements: If all objects in simulation scene are non-magnetic, the permeability array is not realized and a single scalar is used
- OnOffSwitch makes it easy to specifcy at which time detectors and sources are on or off
- A wrapper function run_fdtd combines the functionality of checkpointed_fdtd and reversible_fdtd, making it easier for new users.
- Instead of a mean, detectors can now also plot a slice through their detection volume
- PhasorDetector now records with proper amplitude scaling
- New "Sphere" object shape
- Detectors record with exact_interpolation=True by default