-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cutoff value in H.ccECP.xml #70
Comments
@aannabe do you want to comment on the strategy here? All the other files created around the same time have the "expected" cutoff of O(1). |
The cutoff values given in the |
@aannabe I am a little puzzled to know qmcpack ignores the cutoff. Why are them written in the xml file then?
See that there is a line telling "Creating a Linear Grid Rmax=1e-10". In contrast, when I use the xml obtained from upf, where the cutoff is set to 0.807074,
|
Hi @zenandrea, there does seem to be an issue, thanks for pointing it out. I was looking at the source code and the potential files. Inside qmcpack, we actually do actually use the cutoff by finding the maximum cutoff across all potential channels, and then use that to define the grid for which the splined potentials are defined on for the non-local channels. This is supposed to be a purely local potential, where we only smooth out the coulomb potential at the origin to remove the divergence. However, something was overlooked when creating these xml files that is ultimately the source of your problems. The reason things are off is the following. Both of these xml files were generated using ppconvert, which reads in the gaussian representation of the semilocal potential in a GAMESS format. If you notice, He for example has the format of He-ccECP GEN 0 1 which has a 3 gaussian local channel to smooth out the coulomb potential and we add a zeroed out nonlocal S channel in order to get it to actually run in GAMESS/ppconvert/other codes (some don't allow you to just have a local channel for some reason, so we typically do this). However, when ppconvert encounters this, it will also include the zeroed out S channel which we don't want. We have to remove it after the fact to make sure we only have 1 local channel only in the xml file and no nonlocal channels. ppconvert wrote the xml with potentials for S and P What we actually want for these is a purely local potential Basically, the xml generated potentials in order to get ppconvert to actually give you the right thing had to modified by hand after the fact to make sure we get the correct behavior, and it was missed. Will push the correct files shortly |
Also, since this is supposed to be a local only potential, the cutoff is irrelevant in that case. The local potential is always splined on the original grid defined in the xml file, which always from from 0 to 10 in ppconvert I believe |
I think there is a problem in the file:
https://pseudopotentiallibrary.org/recipes/H/ccECP/H.ccECP.xml
In particular, the cutoff is set to:
cutoff="1e-10".
In fact, if I obtain the xml file from the UPF using ppconvert I obtain a cutoff of
cutoff="0.807074".
By the way, it is not clear to me what is the meaning of this cutoff:
is it the cutoff of the channel that is specified (I see there is a cutoff for s and a cutoff for p)?
If so, the meaning of cutoff="1e-10" is that qmcpack do not see the pseudo of H and it is like having the Coulomb potential in H, is that correct?
The text was updated successfully, but these errors were encountered: