20 #ifndef JDFTX_CORE_PULAYPARAMS_H 21 #define JDFTX_CORE_PULAYPARAMS_H 42 : fpLog(stdout), linePrefix(
"Pulay: "), energyLabel(
"E"), energyFormat(
"%22.15le"),
43 nIterations(50), energyDiffThreshold(1e-8), residualThreshold(1e-7),
44 history(10), mixFraction(0.5), qMetric(0.8)
49 #endif //JDFTX_CORE_PULAYPARAMS_H double qMetric
Wavevector controlling the metric for overlaps.
Definition: PulayParams.h:39
double energyDiffThreshold
convergence threshold for energy difference between successive iterations
Definition: PulayParams.h:34
int nIterations
maximum iterations (single point calculation if 0)
Definition: PulayParams.h:33
const char * linePrefix
prefix for each output line of Pulay (default "Pulay: ")
Definition: PulayParams.h:29
Parameters to control Pulay mixing.
Definition: PulayParams.h:26
const char * energyFormat
printf format for the minimized quantity (default "%22.15le")
Definition: PulayParams.h:31
FILE * fpLog
Stream to log iterations to.
Definition: PulayParams.h:28
double residualThreshold
convergence threshold on the residual
Definition: PulayParams.h:35
double mixFraction
Mixing fraction for total density / potential.
Definition: PulayParams.h:38
int history
Number of past residuals and vectors that are cached and used for mixing.
Definition: PulayParams.h:37
const char * energyLabel
Label for the minimized quantity (default "E")
Definition: PulayParams.h:30