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

Method test_extra_materials

python/tests/test_simulation.py:271–274  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

269 self.assertTrue(os.path.exists(fname))
270
271 def test_extra_materials(self):
272 sim = self.init_simple_simulation()
273 sim.extra_materials = [mp.Medium(epsilon=5), mp.Medium(epsilon=10)]
274 sim.run(mp.at_end(lambda sim: None), until=5)
275
276 def test_require_dimensions(self):
277 sim = self.init_simple_simulation()

Callers

nothing calls this directly

Calls 2

runMethod · 0.45

Tested by

no test coverage detected