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

Method set_epsilon

python/simulation.py:2967–2973  ·  view source on GitHub ↗
(self, eps)

Source from the content-addressed store, hash-verified

2965 return all_freqs
2966
2967 def set_epsilon(self, eps):
2968 if self.fields is None:
2969 self.init_sim()
2970
2971 self.structure.set_epsilon(
2972 eps, self.eps_averaging, self.subpixel_tol, self.subpixel_maxeval
2973 )
2974
2975 def add_sources(self):
2976 for s in self.sources:

Callers

nothing calls this directly

Calls 1

init_simMethod · 0.95

Tested by

no test coverage detected