tidy3d.BenklerConformalMeshSpec#

class BenklerConformalMeshSpec[source]#

Bases: ConformalMeshSpec

Conformal mesh scheme based on [S. Benkler, IEEE Transactions on Antennas and Propagation 54.6, 1843 (2006)], which is similar to the approach described in [S. Dey, R. Mittra, IEEE Microwave and Guided Wave Letters 7.9, 273 (1997)].

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, attrs are mutable. For example, the following is allowed for setting an attr obj.attrs['foo'] = bar. Also note that Tidy3D` will raise a TypeError if attrs contain objects that can not be serialized. One can check if attrs are serializable by calling obj.json().

  • timestep_reduction (ConstrainedFloatValue = 0.3) – Reduction factor between 0 and 1 such that the simulation’s time step size will be 1 - timestep_reduction times its default value. Accuracy can be improved with a smaller time step size; but simulation time increased as well.

Attributes

courant_ratio

The scaling ratio applied to Courant number so that the courant number in the simulation is sim.courant * courant_ratio.

attrs

Methods

Inherited Common Usage

timestep_reduction#
property courant_ratio#

The scaling ratio applied to Courant number so that the courant number in the simulation is sim.courant * courant_ratio.

__hash__()#

Hash method.