Skip to content

Two-Dimensional Finite Difference Hartree-Fock Program

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING
Notifications You must be signed in to change notification settings

susilehtola/x2dhf

Repository files navigation

Two-Dimensional Finite Difference Hartree-Fock program for diatomic molecules

This program finds virtually exact solutions of the Hartree-Fock and density functional theory equations for diatomic molecules and atoms (the quality of a solution depends on grid size and arithmetic precision used). The lowest energy eigenstates of a given irreducible representation and spin can be obtained.

The program can be also be used to obtain the ground and excited states of one-electron systems with the (smoothed) Coulomb and Kramers-Hennenberger potentials.

Single particle two-dimensional numerical functions (orbitals) are used to construct an antisymmetric many-electron wave function of the restricted open-shell Hartree-Fock model. The orbitals are obtained by solving the Hartree-Fock equations in the form of the coupled two-dimensional second-order (elliptic) partial differential equations (PDE). The Coulomb and exchange potentials are obtained as solutions of the corresponding Poisson equations. The PDEs are disretized by the 8th-order central difference stencil on a two-dimensional grid and the resulting large and sparse system of linear equations is solved by the (multicolour) successive overrelaxation method ((MC)SOR). The self-consistent-field iterations are interwoven with the (MC)SOR ones and orbital energies and normalization factors are used to monitor the convergence. The accuracy of solutions depends mainly on the grid and the system under consideration.

See the following articles for the detailed description of the program and examples of its usage and accuracy:

The last paper in the above list has an up-to-date description of the operating principles and layout of the program.

The programming language used is Fortran 90; only a Fortran compiler and CMake are necessary to compile the program. The program can be built by running ./compile.sh. See the file INSTALL for more details on installation.

The file doc/users-guide.pdf contains the description of the program's input data and examples of its usage. Examples are included in examples/

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

About

Two-Dimensional Finite Difference Hartree-Fock Program

Topics

Resources

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages