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

Method get_mu_point

python/simulation.py:2698–2706  ·  view source on GitHub ↗

Given a frequency `frequency` and a `Vector3` `pt`, returns the average eigenvalue of the permeability tensor at that location and frequency. If `frequency` is non-zero, the result is complex valued; otherwise it is the real, frequency-independent part of $\\mu$ (the

(self, pt: Vector3Type = None, frequency: float = 0.0)

Source from the content-addressed store, hash-verified

2696 return self.fields.get_eps(v3, frequency)
2697
2698 def get_mu_point(self, pt: Vector3Type = None, frequency: float = 0.0):
2699 """
2700 Given a frequency `frequency` and a `Vector3` `pt`, returns the average eigenvalue
2701 of the permeability tensor at that location and frequency. If `frequency` is
2702 non-zero, the result is complex valued; otherwise it is the real,
2703 frequency-independent part of $\\mu$ (the $\\omega\\to\\infty$ limit).
2704 """
2705 v3 = py_v3_to_vec(self.dimensions, pt, self.is_cylindrical)
2706 return self.fields.get_mu(v3, frequency)
2707
2708 def get_epsilon_grid(
2709 self,

Callers

nothing calls this directly

Calls 2

py_v3_to_vecFunction · 0.85
get_muMethod · 0.45

Tested by

no test coverage detected