Skip to content

flex_rf.tidy3d.AxisAlignedCurrentIntegral

Type: class Base(s): AxisAlignedCurrentIntegralSpec

Class for computing conduction current via Ampère’s circuital law on an axis-aligned loop.

current = AxisAlignedCurrentIntegral(
center=(0, 0, 0),
size=(1, 1, 0),
sign="+",
extrapolate_to_endpoints=True,
snap_contour_to_grid=True,
)
size [TracedSize]

Size in x, y, and z directions.

sign [Direction]

Positive indicates current flowing in the positive normal axis direction.

center [TracedCoordinate] = (0.0, 0.0, 0.0)

Center of object in x, y, and z.

extrapolate_to_endpoints [bool] = False

This parameter is passed to AxisAlignedPathIntegral objects when computing the contour integral.

snap_contour_to_grid [bool] = False

This parameter is passed to AxisAlignedPathIntegral objects when computing the contour integral.

compute_current(em_field: IntegrableMonitorDataType)

Compute current flowing in loop defined by the outer edge of a rectangle.