tidy3d.BenklerConformalMeshSpec#
- class BenklerConformalMeshSpec[source]#
Bases:
ConformalMeshSpecConformal 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,
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().timestep_reduction (ConstrainedFloatValue = 0.3) – Reduction factor between 0 and 1 such that the simulation’s time step size will be
1 - timestep_reductiontimes its default value. Accuracy can be improved with a smaller time step size; but simulation time increased as well.
Attributes
The scaling ratio applied to Courant number so that the courant number in the simulation is
sim.courant * courant_ratio.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.