Developers:Separation of the pseudopotential
From OctopusWiki
We will separate the local part of the pseudpotential in a long range and a short range parts. The long range part will be the Coulombian potential associated to a radial gaussian charge distribution:
The potential is
In fourier space:
We want the potential generated by this charge to be smooth so we consider the associated potential (for simplicity we consider the 1D poisson equation)
What we want is that
must be smaller than a certain threshold:
with
.
Once we get x, we can get the optimum value of σ:
For
we get x=5.2496, which implies
This value will be used in the code, in principle there is a dependency on Zval, but solving a trascendent equation in the code is not very reliable.
Note: this has been taken from the code, in case of discrepancies the code is more likely to be correct.

