gds_fdtd.settings

gds_fdtd simulation toolbox.

Package configuration: one pydantic-settings model, environment prefix GDS_FDTD_. Nothing here reads config files or the network — env vars only, so behavior on a laptop, in CI, and inside a container is the same mechanism.

GDS_FDTD_CACHE_DIR=/scratch/cache GDS_FDTD_LOG_LEVEL=DEBUG GDS_FDTD_LOG_FORMAT=json # JSON-lines logs for Modal/AWS aggregation

Telemetry is OFF by default and, even when enabled, only ever logs an anonymous solver-name + duration line LOCALLY — there is no network telemetry in 1.x; the setting exists so the policy is explicit.

Functions

reset_settings()

Drop the cache so changed env vars are re-read (tests).

settings()

The process-wide settings instance (env read once, cached).

Classes

GdsFdtdSettings(_case_sensitive, ...)

Runtime configuration, resolved from GDS_FDTD_* env vars.