tidy3d.UniformHeatSource#

class UniformHeatSource[source]#

Bases: HeatSource

Volumetric heat source. This class is deprecated. You can use HeatSource instead.

Parameters:
  • name (Optional[str] = None) – Optional name for the source.

  • structures (tuple[str, ...]) – Names of structures where to apply heat source.

  • rate (Union[float, SpatialDataArray]) – [units = W/um^3]. Volumetric rate of heating or cooling (if negative).

Example

>>> heat_source = UniformHeatSource(rate=1, structures=["box"]) 

Attributes

rate

structures

name

Methods

issue_warning_deprecated(data)

Issue warning for 'UniformHeatSource'.

classmethod issue_warning_deprecated(data)[source]#

Issue warning for ‘UniformHeatSource’.