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

Method solve_cw

python/simulation.py:3780–3784  ·  view source on GitHub ↗
(self, tol=1e-8, maxiters=10000, L=2)

Source from the content-addressed store, hash-verified

3778 return self.fields.modal_volume_in_box(box)
3779
3780 def solve_cw(self, tol=1e-8, maxiters=10000, L=2):
3781 if self.fields is None:
3782 raise RuntimeError("Fields must be initialized before using solve_cw")
3783 self._evaluate_dft_objects()
3784 return self.fields.solve_cw(tol, maxiters, L)
3785
3786 def solve_eigfreq(
3787 self, tol=1e-7, maxiters=100, guessfreq=None, cwtol=None, cwmaxiters=10000, L=10

Callers 5

test_array_metadataMethod · 0.95
test_physicalMethod · 0.95
solve_eigfreqMethod · 0.45
solve-cw.pyFile · 0.45

Calls 1

_evaluate_dft_objectsMethod · 0.95

Tested by 2

test_array_metadataMethod · 0.76
test_physicalMethod · 0.76