LibUW12 is a C++ library for the evaluation of the UW12 Fock matrix and energy, using a combination of density-fitting
and resolution of the identity (RI). This library does not calculate the two- and three-index density-fitting
integrals for either the atomic orbital space or the auxiliary RI space. These therefore must be provided to the
library using the BaseIntegrals class.
Any issues with this library should be raised here; contributions and suggestions are also welcome.
- A modern C++ compiler, at least C++17 standard library is required. This has been tested with:
- gcc (v11.4.0 and above)
- CMake/CTest build tools (v3.22 and higher)
- Parallelization:
- Threaded Building Blocks (TBB) C++ template library; or
- OpenMP
- Linear Algebra Library:
- Armadillo (v9.9 and above) - requires BLAS/MKL backend
- Eigen (v3.3 and above)
- Catch2 (v3) for testing
Please refer to the main documentation here
Examples are included in the example folder.
If you use this library in your program and find it helpful, any feedback would be greatly appreciated. If you publish results using this library, please cite Z. M. Williams's thesis, which includes details of the implementation:
Development of Density Functional Correlation Theories Based on the Unsöld Approximation, Williams, Z. M. (Author). 23 Jan 2024
In addition, previous work on UW12 can also be cited:
Z. M. Williams and F. R. Manby, 2021. DOI: 10.26434/chemrxiv-2021-tnw0w
Z. M. Williams, T. C. Wiles and F. R. Manby, J. Chem. Theory Comput., 2020, 16, 6176– 6194. DOI: 10.1021/acs.jctc.0c00442
Novel, Low-Cost Computational Methods for Predicting the Electronic Structure of Molecules, Wiles, T. C. W. (Author). 28 Nov 2019
T. C. Wiles and F. R. Manby, J. Chem. Theory Comput., 2018, 14, 4590-4599. DOI: 10.1021/acs.jctc.8b00337
A full bibtex citation can be found in citation.bib in the main directory.