mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-07-05 19:06:05 +02:00
49e9488f62
* fixed laplacian of aos * corrected the laplacians of aos * added dft_one_e * added new feature for new dft functionals * changed the configure to add new functionals * changed the configure * added dft_one_e/README.rst * added README.rst in new_functionals * added source/programmers_guide/new_ks.rst * Thesis Yann * Added gmp installation in configure * improved qp_e_conv_fci * Doc * Typos * Added variance_max * Fixed completion in qp_create * modif TODO * fixed DFT potential for n_states gt 1 * improved pot pbe * trying to improve sr PBE * fixed potential pbe * fixed the vxc smashed for pbe sr and normal * Comments in selection * bug fixed by peter * Fixed bug with zero beta electrons * Update README.rst * Update e_xc_new_func.irp.f * Update links.rst * Update quickstart.rst * Update quickstart.rst * updated cipsi * Fixed energies of non-expected s2 (#9) * Moved diag_algorithm in Davdison
32 lines
1.6 KiB
ReStructuredText
32 lines
1.6 KiB
ReStructuredText
dft_one_e
|
|
=========
|
|
|
|
This module defines the most important providers needed for the |DFT| and |RSDFT| calculations:
|
|
|
|
* :c:data:`energy_x` and :c:data:`energy_c` : the *exchange* and *correlation* energy functionals (see :file:`e_xc_general.irp.f`)
|
|
|
|
* :c:data:`potential_x_alpha_ao` and :c:data:`potential_x_beta_ao` : the exchange potential for alpha/beta electrons (see :file:`pot_general.irp.f`)
|
|
|
|
* :c:data:`potential_c_alpha_ao` and :c:data:`potential_c_beta_ao` : the correlation potential for alpha/beta electrons (see :file:`pot_general.irp.f`)
|
|
|
|
|
|
These providers are then used in the :ref:`ks_scf` and :ref:`rs_ks_scf` programs, together within some |RSDFT| external
|
|
plugins (see `<https://gitlab.com/eginer/qp_plugins_eginer>`_).
|
|
|
|
The flexibility of the functionals is handle by the two following keywords (see :ref:`module_dft_keywords`):
|
|
|
|
* :option:`dft_keywords exchange_functional` : defines which *exchange* functionals will be set
|
|
|
|
* :option:`dft_keywords correlation_functional` : defines which *correlation* functionals will be set
|
|
|
|
|
|
In the core modules of the |QP|, two functionals are implemented:
|
|
|
|
* "LDA" or "short_range_LDA" for, respectively the |LDA| and its short-range version
|
|
|
|
* "PBE" or "short_range_PBE" for, respectively the |PBE| and its short-range version
|
|
|
|
|
|
If you have designed your own exchange/correlation functionals (see the documentation of the :ref:`module_new_functionals`),
|
|
you can use them in all |DFT|-based programs by setting the :option:`dft_keywords exchange_functional` and :option:`dft_keywords correlation_functional` keywords to "my_functional".
|