tidy3d.SteadyCurrentDensityMonitor#
- class SteadyCurrentDensityMonitor[source]#
Bases:
HeatChargeMonitorCurrent density monitor for Charge/Conduction simulations.
- 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.
unstructured (Literal[True] = True) – Return data on the original unstructured grid.
conformal (bool = False) – If
Truethe simulation mesh will conform to the monitor’s geometry. While this can be set for both Cartesian and unstructured monitors, it bears higher significance for the latter ones. Effectively, settingconformal = Truefor unstructured monitors (unstructured = True) ensures that returned values will not be obtained by interpolation during postprocessing but rather directly transferred from the computational grid. Note: if the simulation mesh usesremove_fragments=True, this option is ignored (treated asFalse). Deprecated: this field will be removed in version 2.12.
Example
>>> import tidy3d as td >>> current_density_monitor_z0 = td.SteadyCurrentDensityMonitor( ... center=(0, 0.14, 0), size=(0.6, 0.3, 0), name="current_density_z0", ... )
Attributes
conformalnamesizecenter- unstructured#