21 #ifndef JDFTX_ELECTRONIC_CONTROL_H 22 #define JDFTX_ELECTRONIC_CONTROL_H 24 #include <electronic/common.h> 28 enum BasisKdep { BasisKpointDep, BasisKpointIndep } ;
32 enum ElecEigenAlgo { ElecEigenCG, ElecEigenDavidson };
65 cacheProjectors(true), davidsonBandRatio(1.1),
66 elecEigenAlgo(ElecEigenDavidson), basisKdep(BasisKpointDep), Ecut(0), EcutRho(0), dragWavefunctions(true),
67 fluidGummel_nIterations(10), fluidGummel_Atol(1e-5),
68 shouldPrintEigsFillings(false), shouldPrintEcomponents(false), shouldPrintMuSearch(false), shouldPrintKpointsBasis(false),
69 subspaceRotationFactor(30.), subspaceRotationAdjust(true), scf(false), convergeEmptyStates(false), dumpOnly(false)
73 #endif // JDFTX_ELECTRONIC_CONTROL_H Control()
run a single-electronic-point energy evaluation and process the end dump
Definition: Control.h:63
double EcutRho
energy cutoff for electrons and charge density grid (EcutRho=0 => EcutRho = 4 Ecut) ...
Definition: Control.h:43
ElecEigenAlgo elecEigenAlgo
Eigenvalue algorithm.
Definition: Control.h:41
BasisKdep basisKdep
k-dependence of basis
Definition: Control.h:42
A template to ease option parsing (maps enums <–> strings)
Definition: Util.h:179
double davidsonBandRatio
ratio of number of Davidson working bands to actual bands in system (>= 1)
Definition: Control.h:39
bool subspaceRotationAdjust
whether to automatically tune subspace rotation factor
Definition: Control.h:57
vector3 lattMoveScale
preconditioning factor for each lattice vector during lattice minimization
Definition: Control.h:46
bool shouldPrintMuSearch
whether mu bisection progress should be printed
Definition: Control.h:53
bool shouldPrintEcomponents
whether energy components should be printed at each iteration
Definition: Control.h:52
int fluidGummel_nIterations
max iterations of the fluid<->electron self-consistency loop
Definition: Control.h:48
bool dragWavefunctions
whether to drag wavefunctions using atomic orbital projections on ionic steps
Definition: Control.h:45
double fluidGummel_Atol
stopping free-energy tolerance for the fluid<->electron self-consistency loop
Definition: Control.h:49
bool convergeEmptyStates
whether SCF iteration or total energy minimizer will be called
Definition: Control.h:60
bool shouldPrintKpointsBasis
whether individual kpoint and basis details should be printed at the beginning
Definition: Control.h:54
bool dumpOnly
whether to converge empty states after every electronic minimization
Definition: Control.h:61
bool shouldPrintEigsFillings
whether eigenvalues and fillings should be printed at each iteration
Definition: Control.h:51
bool cacheProjectors
whether to cache nonlocal projectors
Definition: Control.h:38
double subspaceRotationFactor
preconditioning factor for subspace rotations / aux hamiltonian relative to wavefunctions ...
Definition: Control.h:56
bool fixed_H
fixed Hamiltonian (band structure) mode for electronic sector
Definition: Control.h:37