tidy3d.GridRefinementRegion#
- class GridRefinementRegion[source]#
Bases:
BoxRefinement region for the unstructured mesh. The cell size is enforced to be constant inside the region. The cell size outside of the region depends on the distance from the region.
- Parameters:
center (Optional[tuple[Union[float, autograd.tracer.Box], Union[float, autograd.tracer.Box], Union[float, autograd.tracer.Box]]] = None) – [units = um]. Center of object in x, y, and z.
size (tuple[Union[NonNegativeFloat, autograd.tracer.Box], Union[NonNegativeFloat, autograd.tracer.Box], Union[NonNegativeFloat, autograd.tracer.Box]]) – [units = um]. Size in x, y, and z directions.
dl_internal (PositiveFloat) – [units = um]. Mesh cell size inside the refinement region
transition_thickness (NonNegativeFloat) – [units = um]. Thickness of a transition layer outside the box where the mesh cell size changes from theinternal size to the external one.
Attributes
sizecenter- dl_internal#
- transition_thickness#