For a double gate tansistor , how will the id-Vg script change. Does "device_configuration.metallicRegions()" contain both the top and botton metallic region?? :-\
yes, it does.
However, in your script you specifically change the gate bias of the first metallic region metallic_region0 = device_configuration.metallicRegions()[0]
You can change the bias of all the gate regions with something like:
metallic_regions = device_configuration.metallicRegions()
gate_voltage_list=numpy.linspace(0,2,10)*Volt
for gate_voltage in gate_voltage_list:
new_regions = [m(value = gate_voltage) for m in metallic_regions]
device_configuration.setMetallicRegions(new_regions)