24小时热门版块排行榜    

查看: 643  |  回复: 0

吴江华

新虫 (小有名气)

[求助] ATK I-V计算脚本问题

脚本为:
#read in the 0 V configuration
device_configuration = nlread("benhello.nc",DeviceConfiguration)[0]
calculator = device_configuration.calculator()

#make a fast Krylov self energy calculator
device_algorithm_parameters = DeviceAlgorithmParameters(
    self_energy_calculator_real=KrylovSelfEnergy(save_self_energies=True,
                                                 lambda_min=0.1))

# Define bias voltages
voltage_list= 0.2 *numpy.arange(-15,16)*Volt

#make loop
for voltage in voltage_list:
    # Set new calculator with modified electrode voltages on the configuration
    # use the self consistent state of  the old calculation as starting input.
    device_configuration.setCalculator(
          calculator(electrode_voltages=(-0.5*voltage, 0.5*voltage),
          device_algorithm_parameters=device_algorithm_parameters),
          initial_state=device_configuration)

    # Calculate the transmission spectrum
    transmission_spectrum = TransmissionSpectrum(
        configuration=device_configuration,
        energies=numpy.linspace(-3,3,101)*eV,
        kpoints=MonkhorstPackGrid(3,3),
        )

    #save the results
    nlsave('au_dtb_au.nc', device_configuration)
    nlsave('au_dtb_au.nc', transmission_spectrum)


日志提示没有自洽,请问对结果有什么影响?benhello.nc结构优化时候没有设置自洽!是否一定需要设置自洽?
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

找到一些相关的精华帖子,希望有用哦~

科研从小木虫开始,人人为我,我为人人
相关版块跳转 我要订阅楼主 吴江华 的主题更新
信息提示
请填处理意见