Hello
I would like create a gate voltage that include central and electrodes regions
I used something like this but it didn't work
Can anyone help me. Thanks
# Gate at the central region
metallic_region_0 = BoxRegion(
0.5*Volt,
xmin = 0*Angstrom, xmax = 20.0*Angstrom,
ymin = 13.28380098*Angstrom, ymax = 13.78380098*Angstrom,
zmin = 0.0*Angstrom, zmax = 40.9120017*Angstrom
)
metallic_regions0 = [metallic_region_0]
central_region.setMetallicRegions(metallic_regions0)
# gate at left electrode
metallic_region_1 = BoxRegion(
0.5*Volt,
xmin = 0*Angstrom, xmax = 20.0*Angstrom,
ymin = 13.28380098*Angstrom, ymax = 13.78380098*Angstrom,
zmin = -8.18240034*Angstrom, zmax = 0.0*Angstrom
)
metallic_regions1 = [metallic_region_1]
left_electrode.setMetallicRegions(metallic_regions1)
device_configuration = DeviceConfiguration(
central_region,
[left_electrode, right_electrode]
)