tidy3d.InterfaceRefinementSpec#
- class InterfaceRefinementSpec[source]#
Bases:
Tidy3dBaseModelAutomatic refinement rule for a selected set of interfaces.
- Parameters:
selection (Union[
StructureBoundary,StructureStructureInterface,MediumMediumInterface]) – Selector identifying the interfaces targeted by this refinement rule.dl_interface_ratio (PositiveFloat) – Target mesh size at the selected interface, relative to
dl_reference.distance_interface_ratio (NonNegativeFloat = 2.0) – Distance from the selected interface within which the target mesh size is enforced, relative to the local interface mesh size.
distance_bulk_ratio (NonNegativeFloat = 4.0) – Distance from the selected interface outside of which the bulk mesh size is enforced, relative to the grid bulk mesh size.
Attributes
- selection#
- dl_interface_ratio#
- distance_interface_ratio#
- distance_bulk_ratio#