Skip to content

API Documentation

The FDTDX API is organized into several main components:

Objects

The Objects package defines simulation components: - Sources and detectors - Boundary conditions - Object positioning - Devices with a variable shape that can be optimized

FDTD

The FDTD package provides simulation algorithms: - FDTD implementations - Memory efficient simulations for automatic differentiation

Config

The Config package provides configuration files for specifying simulation parameters

Constants

The Constants package provides a small list of commonly used material constants

Interfaces

The Interfaces package contains functions for interface compression, enabling memory efficient autodiff.

Materials

The Materials package contains the basic structure for defining a material in FDTDX.

Typing

The Typing package contains a number of type hints used throughout the FDTDX package

Utils

The Utility package contains utility functions for logging and plotting simulations

Core Package

The Core package provides fundamental data structures and utilities used mostly internally by FDTDX