tidy3d.components.grid.grid_spec.AbstractAutoGrid#
- class AbstractAutoGrid[source]#
Bases:
GridSpec1dSpecification for non-uniform or quasi-uniform grid along a given dimension.
- Parameters:
max_scale (float = 1.4) – Sets the maximum ratio between any two consecutive grid steps.
mesher (
GradedMesher= GradedMesher()) – The type of mesher to use to generate the grid automatically.dl_min (Optional[NonNegativeFloat] = None) – [units = um]. Lower bound of the grid size along this dimension regardless of structures present in the simulation, including override structures with
enforced=True. It is a soft bound, meaning that the actual minimal grid size might be slightly smaller. IfNoneor 0, a heuristic lower bound value will be applied.
Attributes
- max_scale#
- mesher#
- dl_min#