Skip to content

Conversation

@vvahidd
Copy link
Contributor

@vvahidd vvahidd commented Jan 21, 2026

No description provided.

@vvahidd vvahidd marked this pull request as draft January 21, 2026 19:50
@flaport
Copy link
Member

flaport commented Jan 23, 2026

Can we move geometry outside of the fdtd subpackage? I think it would be nice if we have a unified geometry base over all simulators (not only fdtd).

Add MEEP photonic FDTD simulation with cloud execution:
- MeepSim fluent API (set_geometry, set_stack, set_wavelength, etc.)
- SimConfig JSON + GDS file + runner script for cloud upload
- S-parameter result parsing, port extraction, material resolution
- 49 tests

Extract shared modules from fdtd into gsim.common:
- LayeredComponentBase (ported from gplugins)
- GeometryModel + Prism dataclass for solver-agnostic 3D geometry
- Visualization backends (PyVista, Open3D, Three.js, Matplotlib)

Remove gsim.fdtd (Tidy3D wrapper):
- Zero tests, zero usage outside itself
- All reusable code already extracted to common
- Add meep-sim-*/ pattern to .gitignore (matches palace-sim-*/ convention)
- Update notebook output dir from meep-sim to meep-sim-test
- Minor ruff auto-fixes in visualization.py and palace/ports.py
…tests

- Add SimOverlay/PortOverlay models for rendering sim cell, PML, ports on 2D slices
- Add MarginConfig to meep models (pml_thickness, margin_xy, margin_z)
- Expand render2d to draw sim cell boundary, PML regions, source/monitor ports
- Add plot_2d() to MeepSim with overlay support
- Update run_meep.py template to read margin config instead of hardcoded padding
- 62 meep-specific tests passing (was 49), 119 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants