[gpaw-users] Restarting without external potential

Marko Melander marmela at dtu.dk
Tue Jan 12 14:18:42 CET 2016


Dear all,

I have a converged calculation with an external potential. I would like to compute the energy without the external potential but with the wave function/density from the external potential calculation. Currently I am doing

calc = GPAW('KS_with_external.gpw', external = None, fix density = True)
atoms.set_calc(calc)
atoms.get_potential_energy()

This only returns the energy with the external potential. What would correct way to restart from old wave functions and get the energy without the external potential?

Cheers,
Marko Melander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20160112/e1ca74ff/attachment.html>


More information about the gpaw-users mailing list