egui / wgpu Window
Interactive 2D/3D viewport, Study/Physics/Materials tabs generated from physics descriptors, Ctrl+K command palette, and live convergence indicators.
Multiphysics simulations for photonic, phononic, superconducting, MEMS, and electronic computational systems — driven identically from a desktop window, Monty scripts, headless batch CLI, or an MCP server.
Interactive 2D/3D viewport, Study/Physics/Materials tabs generated from physics descriptors, Ctrl+K command palette, and live convergence indicators.
*.nys ScriptsPython-syntax scripts executed in an isolated worker process with bounded memory allocation and directory confinement via nyx check and nyx run.
Exposes script_run, script_wait, script_check, and api over a persistent session. Wired by nyx-connect into Claude, Cursor, and VS Code.
2D/3D electrostatics with Prager–Synge H(div) flux bounds, 3-layer planar BEM, spherical-harmonic far field, stationary and transient (exact/BDF2) heat transfer.
Static, eigenfrequency, axisymmetric, driven, and 2.5D elastic waveguide modes with full anisotropic stiffness/photoelastic tensors, PML, LRB, and Floquet pairs.
Full-vector Nédélec(2)+P2 waveguides with Stokes polarisation analysis, 3D cavities with BCS surface reactance, Craig–Bampton BBQ, EPR, and Loewner/PROM driven sweeps.
nyx is a desktop and headless multiphysics simulation workbench (AGPL-3.0-only OR LicenseRef-nyx-Commercial). Its default CPU engine — geometry evaluation, constrained Delaunay and 3D isosurface-stuffing meshing, finite-element and time-domain (DGTD/FDTD) kernels, sparse direct factorisations (faer), smoothed-aggregation algebraic multigrid, complex Krylov eigensolvers, and self-contained HDF5 storage (hdf5-pure + zlib-rs) — runs with zero external C solver or Python runtime dependencies. Opt-in GPU acceleration (--features gpu) currently runs portable WGSL compute shaders via wgpu, backed by hardware-agnostic Vector traits intended to transition to Rust-native GPU toolchains over time.
Every action in nyx maps onto a single versioned catalog of 118 JSON-Schema commands (nyx api list), ensuring identical numerical results across:
nyx, built on eframe/egui with wgpu rendering and live field probing).*.nys, Python syntax executed in an isolated nyx-script-worker sandbox).nyx --batch, nyx check, nyx run, nyx queue submit).nyx-mcp and nyx-connect for Antigravity, Claude Code, Claude Desktop, Cursor, VS Code, and Windsurf).nyx-ems): Full-vector Nédélec(2)+P2 cross-section waveguide modes ($\exp(-j \beta y)$ in the wafer frame), axisymmetric rings, Floquet–Bloch periodic lattices, driven multi-port Loewner/PROM frequency sweeps, surface-impedance sheets, and 3D cavity eigenmodes with gradient projection and curved tetrahedral geometry.nyx-sms): Linear anisotropic elasticity, 2.5D elastic waveguide modes ($\exp(-j q y)$), axisymmetric eigenfrequencies with r = 0 regularity enforcement, Kelvin–Voigt/Akhiezer viscoelastic damping, low-reflecting boundaries, and Cartesian/cylindrical/spherical perfectly matched layers ($Q = \mathrm{Re},f / (2 |\mathrm{Im},f|)$).nyx-dfs): P1/P2 electrostatics (2D/3D plus 3-layer planar BEM planar_bem), stationary and transient heat transfer (exact modal/matrix exponential for small systems, BDF2 with AMG above 2,500 free unknowns), magnetostatics, and AC surface loss.nyx-analysis & femcore::vvuq): Equilibrated H(div) Raviart–Thomas Prager–Synge dual capacitance bounds, Stokes/Poincaré optical polarisation classification, Craig–Bampton hierarchical circuit quantisation, Schur-complement Black-Box Quantisation, Taubin $S_{21}$ circle fits, and ASME V&V 20 validation suites.