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 [2023/11/06 16:41] – [Grid caching (GRIDSAVE, NOGRIDSAVE)] 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 1379: | Line 1397: | ||
Gradient contributions from the D3 and D4 dispersion correction are automatically computed in DFT geometry optimisations. | Gradient contributions from the D3 and D4 dispersion correction are automatically computed in DFT geometry optimisations. | ||
+ | |||
+ | 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:// | ||
+ | < | ||
+ | using the '' | ||
+ | |||
+ | |||
References: | References: | ||
Line 1442: | 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 1450: | 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 1465: | 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 1475: | 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\\ |