Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
the_density_functional_program [2024/01/27 11:30] – [Empirical damped dispersion correction] hesselmann | the_density_functional_program [2025/01/09 09:54] (current) – fix layout doll | ||
---|---|---|---|
Line 965: | Line 965: | ||
+ | **Important note regarding some functionals from LibXC that also are available in Molpro' | ||
+ | A number of functionals which are both available in LibXC and Molpro may give slightly different results in total energies (in the micro hartree range for small molecules) due to truncation of significant digits of underlying parameters. An example for this is the PBE functional [[https:// | ||
+ | Functionals known to yield slighty different results according to this: | ||
- | + | ^ Molpro ^ LibXC ^ | |
- | + | | PBEX | GGA_X_PBE | | |
- | + | | PBEXREV | |
- | + | | PBEC | GGA_C_PBE | | |
+ | | PBESOLC | ||
+ | | PW91C | GGA_C_PW91 | | ||
+ | | HCTH93 | ||
+ | | HCTH120 | ||
+ | | M06LX | MGGA_X_M06_L | | ||
+ | | B95 | MGGA_C_BC95 | | ||
+ | | TPSSC | MGGA_C_TPSS | | ||
+ | | M06C | MGGA_C_M06 | | ||
+ | | M06HFC | ||
+ | | M062XC | ||
+ | | M06LC | MGGA_C_M06_L | | ||
+ | | M05C | MGGA_C_M05 | | ||
+ | | M052XC | ||
+ | | M06X | HYB_MGGA_X_M06 | | ||
+ | | M062XX | ||
==== Implementing new functionals ==== | ==== Implementing new functionals ==== | ||
Line 1289: | Line 1306: | ||
The total energy will then be calculated as EDFT-D2=EDFT+Edisp(D2) if x=d2 (see Ref. [2]), | The total energy will then be calculated as EDFT-D2=EDFT+Edisp(D2) if x=d2 (see Ref. [2]), | ||
- | EDFT-D3=EDFT+Edisp(D3) if x=d3 (see Ref. [3]), and EDFT-D4=EDFT+Edisp(D4) if x=d4 (see Ref. [4]). | + | EDFT-D3=EDFT+Edisp(D3) if x=d3 (see Ref. [3]), and |
+ | EDFT-D4=EDFT+Edisp(D4) if x=d4 (see Ref. [4]). | ||
Currently the default dispersion correction added to the DFT energy is the D4 dispersion correction developed by Grimme //et al.//, see Ref. [4]. | Currently the default dispersion correction added to the DFT energy is the D4 dispersion correction developed by Grimme //et al.//, see Ref. [4]. | ||
Line 1381: | Line 1399: | ||
Note that not all functionals implemented in Molpro (and Libxc) are known to the D4 program (and vice versa). And in some cases the functionals supported by D4 might have a different identifier than used in Molpro. To see which functionals can be used with D4, see the documentation at [[https:// | Note that not all functionals implemented in Molpro (and Libxc) are known to the D4 program (and vice versa). And in some cases the functionals supported by D4 might have a different identifier than used in Molpro. To see which functionals can be used with D4, see the documentation at [[https:// | ||
- | < | + | < |
- | ks, | + | |
- | </ | + | |
using the '' | using the '' | ||
Line 1450: | Line 1466: | ||
where '' | where '' | ||
- | For DFT calculations, | + | For DFT calculations, |
Example of a PBE calculation on the fractional C cation with 5.3 electrons: | Example of a PBE calculation on the fractional C cation with 5.3 electrons: | ||
Line 1458: | Line 1474: | ||
geom={C} | geom={C} | ||
fracocca, | fracocca, | ||
- | {uks, | + | {uks, |
</ | </ | ||
Example of a RSH calculation on the fractional CO anion with 14.8 electrons: | Example of a RSH calculation on the fractional CO anion with 14.8 electrons: | ||
Line 1473: | Line 1489: | ||
fracocca, | fracocca, | ||
{int; | {int; | ||
- | {uks, | + | {uks, |
</ | </ | ||
Example of a HF calculation on the H atom with 0.5 alpha electron and 0.5 beta electron: | Example of a HF calculation on the H atom with 0.5 alpha electron and 0.5 beta electron: | ||
Line 1483: | Line 1499: | ||
fracocca, | fracocca, | ||
fracoccb, | fracoccb, | ||
- | {uhf; | + | {uhf,old; wf,2,0,0} |
</ | </ | ||
- | Subsequent RPA correlation calculations (see [[the_density_functional_program#random-phase_approximation|here]]) will be automatically done with fractional orbital occupation numbers. | + | Subsequent RPA correlation calculations (see [[kohn-sham_random-phase_approximation#random-phase_approximation_rpatddft_program|here]]) will be automatically done with fractional orbital occupation numbers. |
References\\ | References\\ |