File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 2525
2626test :
2727 pytest
28+
29+ uv-test :
30+ @for plugin in femwell gmsh meow sax tidy3d klayout vlsir; do \
31+ uv run pytest gplugins/$$ plugin; \
32+ done
2833
2934cov :
3035 pytest --cov=gplugins
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ def compute_cross_section_modes(
4242 Defines a "straight" component of the cross_section, and calls compute_component_slice_modes.
4343
4444 Args:
45- cross_section:
46- layer_stack:
45+ cross_section: gdsfactory cross_section.
46+ layer_stack: gdsfactory layer_stack.
4747 wavelength: in um.
4848 num_modes: to compute.
4949 order: order of the mesh elements. 1: linear, 2: quadratic.
@@ -126,6 +126,7 @@ def compute_component_slice_modes(
126126 metallic_boundaries: if True, will set the boundaries to be metallic.
127127 n_guess: initial guess for the effective index.
128128 solver: can be slepc or scipy.
129+ material_name_to_index: dictionary mapping material names to refractive indices.
129130 kwargs: kwargs for get_mesh
130131
131132 Keyword Args:
You can’t perform that action at this time.
0 commit comments