mirror of
https://github.com/edoverg/modeconverter.git
synced 2026-10-14 23:06:39 +00:00
trying to lower resolution of design region to the same as the physics
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ PML_UM = 1.0 #PML thickness
|
|||||||
BUFFER = 3.0
|
BUFFER = 3.0
|
||||||
DESIGN_WAVELENGTHS_UM = [1.50,1.55,1.60] #wavelengths at which to optimize the device
|
DESIGN_WAVELENGTHS_UM = [1.50,1.55,1.60] #wavelengths at which to optimize the device
|
||||||
DESIGN_REGION_UM = mp.Vector3(4,4,1)
|
DESIGN_REGION_UM = mp.Vector3(4,4,1)
|
||||||
DESIGN_REGION_RESOLUTION = int(2 * RESOLUTION)
|
DESIGN_REGION_RESOLUTION = int(RESOLUTION)
|
||||||
DESIGN_REGION_CENTER = mp.Vector3(0, 0, DESIGN_REGION_UM.z / 2)
|
DESIGN_REGION_CENTER = mp.Vector3(0, 0, DESIGN_REGION_UM.z / 2)
|
||||||
NX_DESIGN_GRID = int(DESIGN_REGION_UM.x * DESIGN_REGION_RESOLUTION) + 1
|
NX_DESIGN_GRID = int(DESIGN_REGION_UM.x * DESIGN_REGION_RESOLUTION) + 1
|
||||||
NY_DESIGN_GRID = int(DESIGN_REGION_UM.y * DESIGN_REGION_RESOLUTION) + 1
|
NY_DESIGN_GRID = int(DESIGN_REGION_UM.y * DESIGN_REGION_RESOLUTION) + 1
|
||||||
|
|||||||
Reference in New Issue
Block a user