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

Method set_eigenvectors

python/solver.py:487–488  ·  view source on GitHub ↗
(self, ev, first_band)

Source from the content-addressed store, hash-verified

485 return MPBArray(ev.reshape(dims), self.get_lattice(), self.current_k)
486
487 def set_eigenvectors(self, ev, first_band):
488 self.mode_solver.set_eigenvectors(first_band - 1, ev.flatten())
489
490 def save_eigenvectors(self, filename):
491 with h5py.File(filename, "w") as f:

Callers 3

load_eigenvectorsMethod · 0.95

Calls

no outgoing calls

Tested by 2