diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2011-10-08 20:30:28 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-10-08 20:30:28 +0200 |
| commit | 5df79c53745fde5d6c3340a2979b1429cd5892c1 (patch) | |
| tree | 1a81af141708b826e9c61e8a04019994fcca8298 /src/labat/gga.f | |
Initial import of htcd system 1.0
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/labat/gga.f')
| -rw-r--r-- | src/labat/gga.f | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/labat/gga.f b/src/labat/gga.f new file mode 100644 index 0000000..083fdad --- /dev/null +++ b/src/labat/gga.f | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | c***************************************************************** | ||
| 2 | c***************************************************************** | ||
| 3 | c***************************************************************** | ||
| 4 | c GGA | ||
| 5 | c The Generalized Gradient Approximation | ||
| 6 | |||
| 7 | c GGA is a way to improve the local spin density approximation | ||
| 8 | c by adding nonlocal gradients in the evaluation of the exchange- | ||
| 9 | c correlation energy and potential. These functions and subroutines | ||
| 10 | c are based on programs made by John Perdew, Tulane University, | ||
| 11 | c New Orleans, Louisiana, USA. Email: PY03APF%music.tcs.tulane.edu | ||
| 12 | c The modifications necessary to fit them to the atom program was | ||
| 13 | c made by Tomas Holmquist 1993 (so now you know who to blame). | ||
| 14 | c Email: tomash@fy.chalmers.se | ||
| 15 | c A more thorough description of the GGA used may be found in | ||
| 16 | c J.P. Perdew et al, Phys. Rev. B (46) 1992 pp. 6671-6687. | ||
| 17 | |||
| 18 | c The GGA package is: | ||
| 19 | |||
| 20 | c function deriv | ||
| 21 | c subroutine grad | ||
| 22 | c subroutine grabgr | ||
| 23 | c subroutine laplac | ||
| 24 | c subroutine spline | ||
| 25 | c subroutine splint | ||
| 26 | c subroutine ggaexc | ||
| 27 | c subroutine exchen | ||
| 28 | c subroutine ldaec | ||
| 29 | c subroutine gcor | ||
| 30 | c subroutine ggaec | ||
| 31 | c subroutine ggauxc | ||
| 32 | c subroutine exchpt | ||
| 33 | c subroutine ldauc | ||
| 34 | c subroutine ggauc | ||
| 35 | |||
| 36 | c The grad, grabgr, and laplace subroutines uses the function deriv | ||
| 37 | c to calculate different derivatives with respect to the radial | ||
| 38 | c coordinate r. Spline and splint calculates the cubic spline | ||
| 39 | c interpolation which is used in function deriv. | ||
| 40 | c The two main subprograms, ggaexc and ggauxc, calculates | ||
| 41 | c the exchange-correlation energy and potential respectively. | ||
| 42 | c The other subroutines are modified versions of Perdew's program. | ||
| 43 | |||
| 44 | c***************************************************************** | ||
| 45 | c***************************************************************** | ||
