I read on forum that to calculate the difference in the potentials of 2 atoms we can use the following code:
pot = nlread("file.nc", ElectrostaticDifferencePotential)[0]
p1 = pot.evaluate(0.*Ang,0*Ang,0*Ang)
p2 = pot.evaluate(0.*Ang,0*Ang,1*Ang)
print p2-p1
But, this gives the value in Hartree. How to get this in Volts?
Second: To get Voltage Drop(V) vs. Z(Ang) plot, why is it necessary that we should have both zero-bias and finite-bias calculations? Cant we plot it just with a finite bias calculation?