-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optionally switch off ADMM XC correction in TDDFPT kernel (#2205)
* GAPW_XC bug fix for linear response * GAPW/GAPW_XC linear response refactoring * Prettify and update regtests * Remove filter and adjust regtest value * Pretty * Linear response for ADMM/GAPW * TDDFT/ADMM/GAPW excitation energies. More regtests. Some refactoring. * Merge with upstream * Optionally switch off ADMM XC correction in TDDFPT kernel
- Loading branch information
1 parent
83879e1
commit 00065fb
Showing
18 changed files
with
665 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
&FORCE_EVAL | ||
METHOD Quickstep | ||
&PROPERTIES | ||
&TDDFPT | ||
KERNEL FULL | ||
ADMM_KERNEL_CORRECTION_SYMMETRIC T | ||
ADMM_KERNEL_XC_CORRECTION F | ||
NSTATES 1 | ||
MAX_ITER 50 | ||
CONVERGENCE [eV] 1.0e-7 | ||
&END TDDFPT | ||
&END PROPERTIES | ||
&DFT | ||
&QS | ||
METHOD GPW | ||
&END QS | ||
BASIS_SET_FILE_NAME BASIS_SET | ||
BASIS_SET_FILE_NAME BASIS_ADMM | ||
&AUXILIARY_DENSITY_MATRIX_METHOD | ||
ADMM_PURIFICATION_METHOD NONE | ||
EXCH_CORRECTION_FUNC PBEX | ||
EXCH_SCALING_MODEL NONE | ||
METHOD BASIS_PROJECTION | ||
&END | ||
&EFIELD | ||
&END | ||
&EXCITED_STATES T | ||
STATE 1 | ||
&END EXCITED_STATES | ||
&SCF | ||
SCF_GUESS ATOMIC | ||
&OT | ||
PRECONDITIONER FULL_SINGLE_INVERSE | ||
MINIMIZER DIIS | ||
&END | ||
&OUTER_SCF | ||
MAX_SCF 20 | ||
EPS_SCF 1.0E-7 | ||
&END | ||
MAX_SCF 50 | ||
EPS_SCF 1.0E-7 | ||
&END SCF | ||
&XC | ||
&XC_FUNCTIONAL PBE0 | ||
&END XC_FUNCTIONAL | ||
&END XC | ||
&MOMENTS ON | ||
PERIODIC .FALSE. | ||
REFERENCE COM | ||
&END | ||
&END | ||
&POISSON | ||
PERIODIC NONE | ||
POISSON_SOLVER MT | ||
&END | ||
&END DFT | ||
&SUBSYS | ||
&CELL | ||
ABC [angstrom] 4.0 4.0 4.0 | ||
PERIODIC NONE | ||
&END | ||
&COORD | ||
O 0.000000 0.000000 -0.065587 | ||
H 0.000000 -0.757136 0.520545 | ||
H 0.000000 0.757136 0.520545 | ||
&END COORD | ||
&TOPOLOGY | ||
&CENTER_COORDINATES | ||
&END | ||
&END | ||
&KIND H | ||
BASIS_SET DZV-GTH-PADE | ||
BASIS_SET AUX_FIT FIT3 | ||
POTENTIAL GTH-PADE-q1 | ||
&END KIND | ||
&KIND O | ||
BASIS_SET DZVP-GTH-PADE | ||
BASIS_SET AUX_FIT FIT3 | ||
POTENTIAL GTH-PADE-q6 | ||
&END KIND | ||
&END SUBSYS | ||
&END FORCE_EVAL | ||
&GLOBAL | ||
PRINT_LEVEL LOW | ||
PROJECT dipole | ||
RUN_TYPE DEBUG | ||
&END GLOBAL | ||
&DEBUG | ||
DEBUG_FORCES .FALSE. | ||
DEBUG_STRESS_TENSOR .FALSE. | ||
DEBUG_DIPOLE .TRUE. | ||
DEBUG_POLARIZABILITY .FALSE. | ||
DE 0.0002 | ||
&END | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# runs are executed in the same order as in this file | ||
# the second field tells which test should be run in order to compare with the last available output | ||
# e.g. 0 means do not compare anything, running is enough | ||
# 1 compares the last total energy in the file | ||
# for details see cp2k/tools/do_regtest | ||
# | ||
h2o_a01.inp 1 5.0E-11 -17.21071638924079 | ||
h2o_a02.inp 1 5.0E-11 -17.20961421163643 | ||
h2o_a03.inp 1 5.0E-11 -17.20804254307528 | ||
h2o_a04.inp 1 5.0E-11 -17.20949405791527 | ||
#EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
&FORCE_EVAL | ||
METHOD Quickstep | ||
&PROPERTIES | ||
&TDDFPT | ||
KERNEL FULL | ||
ADMM_KERNEL_CORRECTION_SYMMETRIC F | ||
ADMM_KERNEL_XC_CORRECTION F | ||
&XC | ||
&XC_FUNCTIONAL PBE | ||
&END XC_FUNCTIONAL | ||
&END XC | ||
NSTATES 2 | ||
MAX_ITER 50 | ||
CONVERGENCE [eV] 1.0e-7 | ||
RKS_TRIPLETS F | ||
&END TDDFPT | ||
&END PROPERTIES | ||
&DFT | ||
&QS | ||
METHOD GPW | ||
&END QS | ||
BASIS_SET_FILE_NAME BASIS_SET | ||
BASIS_SET_FILE_NAME BASIS_ADMM | ||
&AUXILIARY_DENSITY_MATRIX_METHOD | ||
ADMM_PURIFICATION_METHOD NONE | ||
EXCH_CORRECTION_FUNC PBEX | ||
EXCH_SCALING_MODEL NONE | ||
METHOD BASIS_PROJECTION | ||
&END | ||
&EXCITED_STATES T | ||
STATE 1 | ||
&END EXCITED_STATES | ||
&SCF | ||
SCF_GUESS ATOMIC | ||
&OT | ||
PRECONDITIONER FULL_SINGLE_INVERSE | ||
MINIMIZER DIIS | ||
&END | ||
&OUTER_SCF | ||
MAX_SCF 20 | ||
EPS_SCF 1.0E-7 | ||
&END | ||
MAX_SCF 50 | ||
EPS_SCF 1.0E-7 | ||
&END SCF | ||
&XC | ||
&XC_FUNCTIONAL PBE0 | ||
&END XC_FUNCTIONAL | ||
&END XC | ||
&MGRID | ||
CUTOFF 300 | ||
REL_CUTOFF 60 | ||
&END | ||
&POISSON | ||
PERIODIC NONE | ||
POISSON_SOLVER MT | ||
&END | ||
&END DFT | ||
&SUBSYS | ||
&CELL | ||
ABC [angstrom] 4.0 4.0 4.0 | ||
PERIODIC NONE | ||
&END | ||
&COORD | ||
O 0.000000 0.000000 0.000000 | ||
H 0.000000 -0.757136 0.580545 | ||
H 0.000000 0.757136 0.580545 | ||
&END COORD | ||
&TOPOLOGY | ||
&CENTER_COORDINATES | ||
&END | ||
&END | ||
&KIND H | ||
BASIS_SET DZV-GTH-PADE | ||
BASIS_SET AUX_FIT FIT3 | ||
POTENTIAL GTH-PADE-q1 | ||
&END KIND | ||
&KIND O | ||
BASIS_SET DZVP-GTH-PADE | ||
BASIS_SET AUX_FIT FIT3 | ||
POTENTIAL GTH-PADE-q6 | ||
&END KIND | ||
&END SUBSYS | ||
&FORCES | ||
&END | ||
&END | ||
&END FORCE_EVAL | ||
&GLOBAL | ||
PRINT_LEVEL LOW | ||
PROJECT ftest | ||
RUN_TYPE GEO_OPT | ||
&END GLOBAL | ||
&MOTION | ||
&GEO_OPT | ||
MAX_ITER 1 | ||
&END | ||
&END | ||
&DEBUG | ||
DEBUG_FORCES .TRUE. | ||
DEBUG_STRESS_TENSOR .FALSE. | ||
DEBUG_DIPOLE .FALSE. | ||
DEBUG_POLARIZABILITY .FALSE. | ||
STOP_ON_MISMATCH F | ||
DE 0.0005 | ||
&END | ||
|
Oops, something went wrong.