Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
5aff153
feat(meep): add standalone eigenmode solver
benvial Jun 23, 2026
45369c9
docs(nbs): add mode solver example notebook
benvial Jun 23, 2026
eca22e5
docs(nbs): add PDK activation and graceful meep-missing guards to mod…
benvial Jun 23, 2026
6d2e9b8
fix(meep): import-guard tests mock meep, delegate test runs real solver
benvial Jun 23, 2026
1eec63d
feat(meep): add mode_z_grid, refractive_index_profile, compute_group_…
benvial Jun 23, 2026
769cf5b
fix(meep): add mode validation, fix kdom units, fix analytical solver
benvial Jun 23, 2026
f1cb5bf
feat(meep): suppress meep/mpb C++ verbosity via python logging
benvial Jun 25, 2026
4af1584
fix: resolve pre-commit typing and jupytext sync issues
benvial Jun 25, 2026
590f227
fix(mesh): silence stderr noise from uninitialized gmsh in unit tests
benvial Jun 25, 2026
1429c13
fix(test): mark test_delegates_to_mode_solver as meep_local
benvial Jun 25, 2026
b69378f
refactor: remove dead two-pass group-index solver
benvial Jun 25, 2026
36aa95a
style(nbs): normalize em-dash to hyphen in notebook markdown
benvial Jun 25, 2026
88aae5b
fix: resolve test failures and deprecation warnings
benvial Jun 25, 2026
668b37e
fix(test): remove stale compute_group_index kwarg from mode solver test
benvial Jun 25, 2026
36b08ca
feat(meep): 2D XZ mode profile extraction and visualization
benvial Jun 25, 2026
f7d0311
docs(nbs): rename mode solver notebook to _soi, add _rib variant
benvial Jun 25, 2026
1d87eca
docs(nbs): strip SOI notebook to 1D slab modes only
benvial Jun 25, 2026
99316ec
feat(meep): add PML support, eigensolver tol, z_margin to mode solver
benvial Jun 25, 2026
b3e484f
perf(nbs): reduce SOI slab multi-band solves from 24 to 4
benvial Jun 25, 2026
a6d644e
perf(meep): add solve_slab_modes batch API, sim reuse
benvial Jun 25, 2026
b22499b
perf(meep): material cache, wavelength batch, PML grids, 2px slab cell
benvial Jun 29, 2026
039b5b6
merge: pull main (PRs #176, #172, #150) into feat/mode-solver
benvial Jun 29, 2026
0b582d3
fix(meep): support asymmetric z_margin and absolute z-grid coords
benvial Jun 29, 2026
c2ca6fc
refactor(mode-solver): require explicit y_span/x_span for port path
benvial Jul 2, 2026
fce8074
feat(mode-solver): add ModeSolver model, solve_modes(), ModeSweepResult
benvial Jul 2, 2026
2ad60b0
feat(meep): add plot_mode/plot_index to ModeResult
benvial Jul 2, 2026
1ebecf2
fix(meep): default margin_z_above and margin_z_below to 0.0
benvial Jul 2, 2026
e0f2c07
feat: add sidewall-angle staircase to 2D mode solver, LiNbO3 anisotropic
benvial Jul 8, 2026
147a313
refactor(meep): use mp.Prism for 2D sidewalls, drop staircase blocks
benvial Jul 8, 2026
49bad90
fix(meep): build geometry overlay from gsim LayerStack not PDK
benvial Jul 8, 2026
d6b67bf
merge: resolve upstream/main conflicts — margin_z API + ModeSolver + …
benvial Jul 15, 2026
f3e33c2
fix(nbs): migrate margin_z_above -> margin_z=(0.0,0.5) after upstream…
benvial Jul 15, 2026
81fa2ea
fix: remove dead z_crop check in _resolve_materials
benvial Jul 15, 2026
77e66bc
refactor: migrate SOI mode solver notebook to Simulation API
benvial Jul 15, 2026
487df18
feat(nbs): dispersive analytical validation & group index for slab modes
benvial Jul 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/test_meep_local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: MEEP Local Tests
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, labeled]
jobs:
meep_local_test:
if: >-
github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'meep_tests'))
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
python-version: "3.12"
auto-update-conda: true
channels: conda-forge,defaults
- name: Install MEEP and dependencies
run: |
conda install -c conda-forge pymeep pymeep-extras
pip install -e ".[dev]"
- name: Run MEEP local tests
run: pytest -m meep_local
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ pip-log.txt
.DS_Store

# folders
.kilo/
.cursor/
.eggs/
.hypothesis/
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ repos:
entry: python scripts/check_cp1252.py
language: system
types: [python]
exclude: ^nbs/_meep_mode_solver_(rib|tfln)\.py$
- repo: https://github.com/mwouts/jupytext
rev: v1.19.2
hooks:
Expand Down
275 changes: 275 additions & 0 deletions nbs/_meep_mode_solver_rib.ipynb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading