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

Function output_dpwr

python/simulation.py:5664–5668  ·  view source on GitHub ↗

Output the electric-field energy density $\\mathbf{E}^* \\cdot \\mathbf{D} / 2$

(sim)

Source from the content-addressed store, hash-verified

5662
5663
5664def output_dpwr(sim):
5665 """
5666 Output the electric-field energy density $\\mathbf{E}^* \\cdot \\mathbf{D} / 2$
5667 """
5668 sim.output_component(mp.D_EnergyDensity)
5669
5670
5671def output_tot_pwr(sim):

Callers

nothing calls this directly

Calls 1

output_componentMethod · 0.80

Tested by

no test coverage detected