# DistanceUnstructuredGrid
Adaptive grid based on distance to material interfaces. Currently, it is not recommended for larger simulations.
# Interface Grid Size
dl_interface: Grid size near the material interfaces.
Type: floating-point number
- Unit: m, μm (default), or nm
- Constraint: greater than 0
- Required field
# Bulk Grid Size
dl_bulk: Grid size away from the material interfaces.
Type: floating-point number
- Unit: m, μm (default), or nm
- Constraint: greater than 0
- Required field
# Relative Mesh Size Limit
relative_min_dl: The minimal allowed mesh size relative to the largest dimension of the simulation domain. Use relative_min_dl=0 to remove this constraint.
Type: floating-point number
- Constraint: greater than or equal to 0
- Default: 0.001
# Interface Distance
distance_interface: Distance from the interface within which dl_interface is enforced. Typically, it is the same as dl_interface or a multiple of it.
Type: floating-point number
- Unit: m, μm (default), or nm
- Constraint: greater than or equal to 0
- Required field
# Bulk Distance
distance_bulk: Distance from the interface outside of which dl_bulk is enforced. Typically, it is twice dl_bulk or a multiple of it. Use larger values for a smoother transition from dl_interface to dl_bulk.
Type: floating-point number
- Unit: m, μm (default), or nm
- Constraint: greater than or equal to 0
- Required field
# Surface Sampling
sampling: An internal advanced parameter that defines the number of sampling points per surface when computing distance values.
Type: floating-point number
- Unit: unitless
- Constraint: greater than 0
- Default: 100
# Structures Without Refinement
non_refined_structures: List of structures for which dl_interface will not be enforced. dl_bulk is used instead.
Type: list