tidy3d.components.monitor.SurfaceIntegrationMonitor#
- class SurfaceIntegrationMonitor[source]#
-
Abstract class for monitors that perform surface integrals during the solver run, as in flux and near to far transformations.
- Parameters:
center (Optional[tuple[Union[float, autograd.tracer.Box], Union[float, autograd.tracer.Box], Union[float, autograd.tracer.Box]]] = None) – [units = um]. Center of object in x, y, and z.
size (tuple[Union[NonNegativeFloat, autograd.tracer.Box], Union[NonNegativeFloat, autograd.tracer.Box], Union[NonNegativeFloat, autograd.tracer.Box]]) – [units = um]. Size in x, y, and z directions.
name (str) – Unique name for monitor.
interval_space (tuple[Literal[1], Literal[1], Literal[1]] = (1, 1, 1)) – Number of grid step intervals between monitor recordings. If equal to 1, there will be no downsampling. If greater than 1, the step will be applied, but the first and last point of the monitor grid are always included. Not all monitors support values different from 1.
colocate (Literal[True] = True) – Defines whether fields are colocated to grid cell boundaries (i.e. to the primal grid). Can be toggled for field recording monitors and is hard-coded for other monitors depending on their specific function.
use_colocated_integration (Literal[True] = True) – Whether to use colocated fields for flux, dot products, and overlap integrals. Hard-coded to
Truefor most monitor types. Can be toggled on field and overlap monitors.normal_dir (Optional[Literal['+', '-']] = None) – Direction of the surface monitor’s normal vector w.r.t. the positive x, y or z unit vectors. Must be one of
'+'or'-'. Applies to surface monitors only, and defaults to'+'if not provided.exclude_surfaces (Optional[tuple[Literal['x-', 'x+', 'y-', 'y+', 'z-', 'z+'], ...]] = None) – Surfaces to exclude in the integration, if a volume monitor.
Attributes
Surfaces of the monitor where fields will be recorded for subsequent integration.
interval_spacecolocateuse_colocated_integrationnamesizecenterMethods
Error if
exclude_surfacesis provided for a surface monitor.If the monitor is a surface, set default
normal_dirif not provided.- normal_dir#
- exclude_surfaces#
- property integration_surfaces#
Surfaces of the monitor where fields will be recorded for subsequent integration.