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

Method require_dimensions

python/simulation.py:2543–2545  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2541 self.fields.initialize_field(cmpnt, amp_func)
2542
2543 def require_dimensions(self):
2544 if self.structure is None:
2545 mp.set_dimensions(self._infer_dimensions(self.k_point))
2546
2547 def has_mu(self):
2548 def _has_mu(medium):

Callers 1

Calls 1

_infer_dimensionsMethod · 0.95

Tested by 1