tidy3d.MeshOverrideStructure#

class MeshOverrideStructure[source]#

Bases: AbstractStructure

Defines an object that is only used in the process of generating the mesh.

Parameters:

Notes

A MeshOverrideStructure is a combination of geometry Geometry, grid size along x, y, z directions, and a boolean on whether the override will be enforced.

Example

>>> from tidy3d import Box
>>> box = Box(center=(0,0,1), size=(2, 2, 2))
>>> struct_override = MeshOverrideStructure(geometry=box, dl=(0.1,0.2,0.3), name='override_box')

Attributes

dl

priority

enforce

shadow

drop_outside_sim

geometry

name

background_permittivity

background_medium

Inherited Common Usage

dl#
priority#
enforce#
shadow#
drop_outside_sim#