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

Function output_efield

python/simulation.py:5790–5795  ·  view source on GitHub ↗

Outputs *all* the components of the field *e*, (electric) to an HDF5 file. That is, the different components are stored as different datasets within the *same* file.

(sim)

Source from the content-addressed store, hash-verified

5788
5789
5790def output_efield(sim):
5791 """
5792 Outputs *all* the components of the field *e*, (electric) to an HDF5 file. That is,
5793 the different components are stored as different datasets within the *same* file.
5794 """
5795 sim.output_components("e", mp.Ex, mp.Ey, mp.Ez, mp.Er, mp.Ep)
5796
5797
5798def output_efield_x(sim):

Callers

nothing calls this directly

Calls 1

output_componentsMethod · 0.80

Tested by

no test coverage detected