tidy3d.GridRefinementLine#
- class GridRefinementLine[source]#
Bases:
Tidy3dBaseModel,ABCRefinement line for the unstructured mesh. The cell size depends on the distance from the line.
- Parameters:
r1 (tuple[float, float, float]) – [units = um]. Start point of the line in x, y, and z.
r2 (tuple[float, float, float]) – [units = um]. End point of the line in x, y, and z.
dl_near (PositiveFloat) – [units = um]. Mesh cell size near the line
distance_near (NonNegativeFloat) – [units = um]. Distance from the line within which
dl_nearis enforced.Typically the same asdl_nearor its multiple.distance_bulk (NonNegativeFloat) – [units = um]. Distance from the line outside of which
dl_bulkis enforced.Typically twice ofdl_bulkor its multiple. Use larger values for a smoother transition fromdl_neartodl_bulk.
Attributes
Methods
Error if distance_bulk is less than distance_near
- r1#
- r2#
- dl_near#
- distance_near#
- distance_bulk#