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

Method get_bpwr

python/solver.py:447–450  ·  view source on GitHub ↗
(self, band)

Source from the content-addressed store, hash-verified

445 return self.get_curfield_as_array(False)
446
447 def get_bpwr(self, band):
448 self.get_bfield(band, False)
449 self.compute_field_energy()
450 return self.get_curfield_as_array(False)
451
452 def fix_field_phase(self):
453 self.mode_solver.fix_field_phase()

Callers 1

get_tot_pwrMethod · 0.95

Calls 3

get_bfieldMethod · 0.95
compute_field_energyMethod · 0.95
get_curfield_as_arrayMethod · 0.95

Tested by

no test coverage detected