Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - venkata reddy mallidi

Pages: [1]
2
General Questions and Answers / Re: GATE SCAN ATTACHMENT
« on: June 27, 2014, 11:16 »
its ahowing like this help me in solvig this

3
General Questions and Answers / Re: GATE SCAN ATTACHMENT
« on: June 25, 2014, 09:49 »
sure

4
General Questions and Answers / Re: GATE SCAN ATTACHMENT
« on: June 24, 2014, 10:26 »
There may be some error in this line of script of gate scan
new_regions = [m(value = gate_voltage) for m in metallic_regions],
bcoz many times I have run the script but it is showing the same error
\


new_regions = [m(value = gate_voltage) for m in metallic_regions]
              ^
IndentationError: expected an indented block


what is the meaning of m(value = gate_voltage),
please check the script

please help me in this regard.....I am trying for last many days

5
General Questions and Answers / Re: GATE SCAN ATTACHMENT
« on: June 23, 2014, 13:35 »
i have saved the nc file of silicon nanowire fet in the name of si_nanowirefet.nc
so in the very first line of gate scan script:
device_configuration = nlread("nanodevice_huckel.nc",DeviceConfiguration)[0]

should i need to write si_nanowirefet.nc instead of nanodevice_huckel.nc
   
Thanks

6
General Questions and Answers / Re: GATE SCAN ATTACHMENT
« on: June 23, 2014, 08:55 »
# Read in the old configuration
device_configuration = nlread("nanodevice_huckel.nc",DeviceConfiguration)[0]
calculator = device_configuration.calculator()
metallic_regions = device_configuration.metallicRegions()
# Define gate_voltages
gate_voltage_list=[1.0, 2.0, 3.0, 4.0, 5.0]*Volt
# Define output file name
filename= "nanodevice_huckel.nc"
# Perform loop over gate voltages
for gate_voltage in gate_voltage_list:
    # Set the gate voltages to the new values
    new_regions = [m(value = gate_voltage) for m in metallic_regions]
    device_configuration.setMetallicRegions(new_regions)
    # Make a copy of the calculator and attach it to the configuration
    # Restart from the previous scf state
    device_configuration.setCalculator(calculator(),
         initial_state=device_configuration)
    device_configuration.update()
    nlsave(filename, device_configuration)
# Calculate analysis objects
electron_density = ElectronDifferenceDensity(device_configuration)
nlsave(filename, electron_density)
electrostatic_potential = ElectrostaticDifferencePotential(device_configuration)
nlsave(filename, electrostatic_potential)
transmission_spectrum = TransmissionSpectrum(
    configuration=device_configuration,
    energies=numpy.linspace(-3,3,101)*eV,
    self_energy_calculator=DirectSelfEnergy(),
    )
nlsave(filename, transmission_spectrum)
nlprint(transmission_spectrum)

7
General Questions and Answers / GATE SCAN ATTACHMENT
« on: June 20, 2014, 10:40 »
I am using the tutorial of si nanowire fet to analyse for InAs nanowire. but gatescan script im using here is not running plz help me to analyse gate scan for InAs nanowire and the error is

File “c:\users\mamta\appdata\local\temp\5203870735644037.py”,line16
New_region = [m(value = gate_voltage) for m in metallic_region]
                     ^
IndentationError: expected an indented block

Pages: [1]