# QuasiUniformGrid
Similar to UniformGrid that generates uniform 1D grid, but grid positions are locally fine tuned to be snaped to snapping points and the edges of structure bounding boxes. Internally, it is using the same meshing method as AutoGrid, but it ignores material information in favor for a user-defined grid size.
# Grid Size
dl: Grid size for quasi-uniform grid generation. Grid size at some locations can be slightly smaller.
Type: floating-point number
- Unit: μm
- Constraint: greater than 0
- Required field
# Minimum Grid Size
dl_min: 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. If None or 0, a heuristic lower bound value will be applied.
Type: floating-point number
- Unit: μm
- Constraint: greater than or equal to 0
- Default: None
# Maximum Scale
max_scale: Sets the maximum ratio between any two consecutive grid steps.
Type: floating-point number
- Unit: unitless
- Constraint: greater than 0
- Default: 1.4
# Mesher Type
mesher: The type of mesher to use to generate the grid automatically.
Type: GradedMesher
- Default: GradedMesher