flex_rf.tidy3d.PECMedium
Type: class │ Base(s): AbstractMedium
Description
Section titled “Description”Perfect electrical conductor class.
To avoid confusion from duplicate PECs, must import tidy3d.PEC instance directly.
Parameters
Section titled “Parameters”name [str | None] = None |
|
Optional unique name for medium. |
frequency_range [FreqBound | None] = None |
|
Optional range of validity for the medium. |
allow_gain [bool] = False |
|
Allow the medium to be active. Caution: simulations with a gain medium are unstable, and are likely to diverge.Simulations where |
nonlinear_spec [NonlinearSpec | NonlinearSusceptibility | None] = None |
|
Nonlinear spec applied on top of the base medium properties. |
modulation_spec [ModulationSpec | None] = None |
|
Modulation spec applied on top of the base medium properties. |
viz_spec [VisualizationSpec | None] = None |
|
Plotting specification for visualizing medium. |
heat_spec [ThermalSpecType | None] = None |
|
DEPRECATED: Use |
Methods
Section titled “Methods”eps_model(frequency: float) |
is_pec() |
|
Whether the medium is a PEC. |
n_cfl() |
|
This property computes the index of refraction related to CFL condition, so that the FDTD with this medium is stable when the time step size that doesn’t take material factor into account is multiplied by |