Welcome to XCFun documentation¶
XCFun is a library of exchange-correlation (XC) functionals to be used in density-functional theory (DFT) codes. XCFun follows a unique implementation strategy which enables the computation of derivatives of the XC functional kernel up to arbitrary order. It does so by relying on forward-mode automatic differentiation.
Given a new XC functional kernel, its implementation with all its derivatives only requires to write code for the undifferentiated kernel. This implementation strategy is very powerful and allows:
Faster implementation of new functionals: you write the kernel, the compiler does the rest.
Introduction of new variables, for example current densities, in the parametrization of new or existing XC kernels.
Testing for numerical stability of XC kernels, using arbitrary precision arithmetic libraries.
- Building XCFun
- Using XCFun
- Migrating to the new application programmers’ interface
- XCFun’s application programming interface
- Exchange-correlation functionals
- Change Log
- Version 2.1.0 - 2020-09-18
- Version 2.0.2 - 2020-07-15
- Version 2.0.1 - 2020-05-06
- Version 2.0.0 - 2020-04-14
- Version 2.0.0a7 - 2020-04-10
- Version 2.0.0a6 - 2020-02-23
- Version 2.0.0a5 - 2020-02-20
- Version 2.0.0a4 - 2020-02-02
- Version 2.0.0a3 - 2020-01-31
- Version 2.0.0a2 - 2020-01-21
- Version 2.0.0a1 - 2019-12-15