eme_transverse_mesh

ipkiss3.simulation.engines.lumerical.macros.eme_transverse_mesh(mesh_cells_y=None, mesh_cells_z=None, dy=None, dz=None)

Macro to set the transverse mesh in EME.

These settings correspond to the ones that can be set from the Lumerical MODE GUI, under the “Edit EME solver -> Transverse mesh settings” tab.

Parameters:
mesh_cells_y: int or None

number of mesh cells in y - set to None to use dy or default value

mesh_cells_z: int or None

number of mesh cells in z - set to None to use dz or default value

dy: float or None

step in y (in um) - set to None to use mesh_cells_y or default value

dz: float or None

step in z (in um) - set to None to use mesh_cells_z or default value

Returns:
macroi3.device_sim.Macro

Examples