How do I set a FluxMonitor?

How do I set a FluxMonitor?#

Date

Category

2023-12-19 15:20:26

Monitors

A FluxMonitor object records power flux in the frequency domain. If the monitor geometry is a 2D box, the total flux through this plane is returned, with a positive sign corresponding to power flow in the positive direction along the axis normal to the plane. If the geometry is a 3D box, the total power coming out of the box is returned by integrating the flux over all box surfaces (except the ones defined in exclude_surfaces). You can define a FluxMonitor object by


monitor = FluxMonitor(
    center=(1,2,3),
    size=(2,2,0),
    freqs=[200e12, 210e12],
    name='flux_monitor')

For details, please refer to the API reference.