Author Topic: How to choose MultigridForElectrostatics method under homogeneous electrodes  (Read 2055 times)

0 Members and 1 Guest are viewing this topic.

Offline hhspace

  • Regular QuantumATK user
  • **
  • Posts: 19
  • Reputation: 0
    • View Profile
Hi, everyone.
     I want to know how to choose MultigridForElectrostatics method to conduct calculations for a two-probe system with homogeneous electrodes. The following is my choice and is that right?
     Take Li-H2_Li as an example, I just use the same ElectrodeParameters but define the two parameters separately, that is,
==================================================================     
# Set k-points for electrodes
bz_int_param = brillouinZoneIntegrationParameters( (1,1,100) )

# Create parameters for electrodes
electrode_params_1 = ElectrodeParameters(
    brillouin_zone_integration_parameters = bz_int_param,
    iteration_control_parameters=iterationControlParameters(tolerance=1e-5,max_steps=300)
    )

electrode_params_2 = ElectrodeParameters(
    brillouin_zone_integration_parameters = bz_int_param,
    iteration_control_parameters=iterationControlParameters(tolerance=1e-5,max_steps=300)
    )   
......
method = TwoProbeMethod(
    (electrode_params_1,electrode_params_2),
    basis_set_parameters = basis_set_params,
    exchange_correlation_type = LDA.PZ,
    iteration_control_parameters = iteration_control_params,
    energy_contour_integral_parameters=energy_contour,
    algorithm_parameters=two_probe_params
    )
=====================================================================

Does it achieve the goal of using the MultigridForElectrostatics method?

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5429
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Yes, for 2008.10, either the two electrode configurations or the two electrode parameter sets should be different variables, then you get MultiGrid.

In the new 2010 code, we have made the choice explicit instead, there is a parameter where you choose FFT or MultiGrid.