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

Method get_charge_density

python/solver.py:395–397  ·  view source on GitHub ↗
(self, which_band, bloch_phase=True)

Source from the content-addressed store, hash-verified

393 return self._get_field("h", which_band, bloch_phase)
394
395 def get_charge_density(self, which_band, bloch_phase=True):
396 self.get_efield(which_band, bloch_phase)
397 self.mode_solver.compute_field_divergence()
398
399 def _get_field(self, f, band, bloch_phase):
400 if self.mode_solver is None:

Callers 1

output_charge_densityFunction · 0.80

Calls 2

get_efieldMethod · 0.95

Tested by

no test coverage detected