gds_fdtd.grid

gds_fdtd simulation toolbox.

Permittivity rasterizer — the first Tier-B enabler. Kernel-level engines (fdtdz, fdtdx) take a raw permittivity grid instead of a scene graph; rasterize turns a Component into that grid offline:

  • per z-slice shapely cross-sections, sidewall angle applied as a polygon offset growing with height (per the technology’s angle convention);

  • sub-pixel averaging via supersampling (default 4x4 per cell), so material boundaries land on the grid as area-fraction-blended permittivity;

  • materials resolved to a (complex) refractive index at the given wavelength by resolve_index — offline only: constant nk entries, refractiveindex.info references, and already-built tidy3d media work; engine-database names (Lumerical) raise with guidance.

All lengths are um (package-wide convention).

Functions

rasterize(component, dx[, dy, dz, ...])

Rasterize a Component into a permittivity grid at cell centers.

resolve_index(material, wavelength_um)

Refractive index of a structure material at one wavelength, OFFLINE.

Classes

PermittivityGrid(eps, origin, spacing)

Relative permittivity sampled at cell centers.