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

Class EnergyRegion

python/simulation.py:598–610  ·  view source on GitHub ↗

A region (volume, plane, line, or point) in which to compute the integral of the energy density of the Fourier-transformed fields. Its properties are: + **`center` [ `Vector3` ]** — The center of the energy region (no default). + **`size` [ `Vector3` ]** — The size of the energy r

Source from the content-addressed store, hash-verified

596
597
598class EnergyRegion(FluxRegion):
599 """
600 A region (volume, plane, line, or point) in which to compute the integral of the
601 energy density of the Fourier-transformed fields. Its properties are:
602
603 + **`center` [ `Vector3` ]** — The center of the energy region (no default).
604
605 + **`size` [ `Vector3` ]** — The size of the energy region along each of the coordinate
606 axes. Default is (0,0,0): a single point.
607
608 + **`weight` [ `complex` ]** — A weight factor to multiply the energy density by when it
609 is computed. Default is 1.0.
610 """
611
612
613class FieldsRegion:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected