MCPcopy Create free account
hub / github.com/NanoComp/meep / fix_efield_phase

Function fix_efield_phase

python/solver.py:1354–1356  ·  view source on GitHub ↗
(ms, which_band)

Source from the content-addressed store, hash-verified

1352
1353
1354def fix_efield_phase(ms, which_band):
1355 ms.get_efield(which_band, False)
1356 ms.mode_solver.fix_field_phase()
1357
1358
1359def apply_band_func_thunk(ms, band_func, which_band, eval_thunk):

Callers

nothing calls this directly

Calls 2

get_efieldMethod · 0.45
fix_field_phaseMethod · 0.45

Tested by

no test coverage detected