tidy3d.components.lumped_element.LumpedElement#
- class LumpedElement[source]#
Bases:
Box,ABCBase class describing lumped elements.
- Parameters:
attrs (dict = {}) β Dictionary storing arbitrary metadata for a Tidy3D object. This dictionary can be freely used by the user for storing data without affecting the operation of Tidy3D as it is not used internally. Note that, unlike regular Tidy3D fields,
attrsare mutable. For example, the following is allowed for setting anattrobj.attrs['foo'] = bar. Also note that Tidy3D` will raise aTypeErrorifattrscontain objects that can not be serialized. One can check ifattrsare serializable by callingobj.json().center (Tuple[float, float, float] = (0.0, 0.0, 0.0)) β [units = um]. Center of object in x, y, and z.
size (Tuple[NonNegativeFloat, NonNegativeFloat, NonNegativeFloat]) β [units = um]. Size in x, y, and z directions.
name (ConstrainedStrValue) β Unique name for the lumped element.
voltage_axis (Literal[0, 1, 2]) β Specifies the axis along which the component is oriented and along which the associated voltage drop will occur. Must be in the plane of the element.
num_grid_cells (Optional[PositiveInt] = 3) β Number of mesh grid cells associated with the lumped element along each direction. Used in generating the suggested list of
MeshOverrideStructureobjects.A value ofNonewill turn off mesh refinement suggestions.
Attributes
Normal axis of the lumped element.
Default parameters for plotting a
LumpedElementobject.Methods
Creates a suggested
MeshOverrideStructurelist that could be added to theSimulationInherited Common Usage
- name#
- voltage_axis#
- num_grid_cells#
- property normal_axis#
Normal axis of the lumped element.
- property plot_params#
Default parameters for plotting a
LumpedElementobject.
- to_mesh_overrides()[source]#
Creates a suggested
MeshOverrideStructurelist that could be added to theSimulation
- __hash__()#
Hash method.