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

Method plot2D

python/adjoint/optimization_problem.py:560–569  ·  view source on GitHub ↗

Produce a graphical visualization of the geometry and/or fields, as appropriately autodetermined based on the current state of progress.

(self, init_opt=False, **kwargs)

Source from the content-addressed store, hash-verified

558 return [m.get_evaluation() for m in self.objective_arguments]
559
560 def plot2D(self, init_opt=False, **kwargs) -> None:
561 """Produce a graphical visualization of the geometry and/or fields,
562 as appropriately autodetermined based on the current state of
563 progress.
564 """
565
566 if init_opt:
567 self.prepare_forward_run()
568
569 self.sim.plot2D(**kwargs)
570
571
572def atleast_3d(*arys):

Callers 9

view_simFunction · 0.45
test_plot2DMethod · 0.45
cavity-farfield.pyFile · 0.45
oblique-source.pyFile · 0.45
gaussian-beam.pyFile · 0.45
zone_plate.pyFile · 0.45

Calls 1

prepare_forward_runMethod · 0.95

Tested by 2

view_simFunction · 0.36
test_plot2DMethod · 0.36