[CP2K-user] [CP2K:16301] Fixed band occupations during SCF

Krack Matthias (PSI) matthias.krack at psi.ch
Wed Nov 24 16:33:48 UTC 2021


Hi Nick

The code looks like a stand-alone program reading a CP2K WFN restart file and writing the information in the same format to a new file. In between the code manipulates the orbital occupations of HOMO and LUMO, i.e. these values are set to 0 and 1, respectively. Check in read/write subroutines in https://github.com/cp2k/cp2k/blob/master/src/qs_mo_io.F for details. Most of the code might have been copy-pasted from there. I guess that the re-written file is then used to restart a CP2K run with a modified orbital occupation.

HTH

Matthias
__________________________________________
Paul Scherrer Institut
Dr. Matthias Krack
OHSA/D07
Forschungsstrasse 111
5232 Villigen PSI
Switzerland

Von: cp2k at googlegroups.com <cp2k at googlegroups.com> Im Auftrag von Nicholas Winner
Gesendet: Dienstag, 23. November 2021 22:43
An: cp2k <cp2k at googlegroups.com>
Betreff: [CP2K:16297] Fixed band occupations during SCF

I am trying to mimic a technique shown in the literature with other codes.

Given bands in VB and CB, and an in-gap state with N electrons, an ionized state can be simulated without the need for a charged supercell by taking some n < N electrons from the in gap state and moving them to LUMO. A similar procedure can be performed for VB and holes.

I'd like to be able to do this in CP2K so I can try this using OT+ADMM of hybrid calculations. This is quite straight forward in many codes, but CP2K may have some difficulties with it according to what I've seen on here.

There was another conversation a few years ago regarding this: https://groups.google.com/g/cp2k/c/WV2VqCd1z9Q/m/JX7OgUmQCgAJ

But I am unable to follow some of the discussion, and the last message refers to some FORTRAN code that I assume is supposed to be inserted into CP2K source somewhere.

Could anyone shed some light on this?

Thanks
Nick
--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com<mailto:cp2k+unsubscribe at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/63fb747b-1bee-4ea0-9a56-5186d8e98a70n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/63fb747b-1bee-4ea0-9a56-5186d8e98a70n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/e9fee8ef6919496da3681fb092292124%40psi.ch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20211124/8b9d3c26/attachment.htm>


More information about the CP2K-user mailing list