20 #ifndef JDFTX_WANNIER_WANNIER_H 21 #define JDFTX_WANNIER_WANNIER_H 23 #include <core/MinimizeParams.h> 24 #include <electronic/Everything.h> 25 #include <electronic/DOS.h> 49 bool needAtomicOrbitals;
51 enum LocalizationMeasure
52 { LM_FiniteDifference,
85 string getFilename(FilenameType fnType,
string varName,
int* spin=0)
const;
90 std::shared_ptr<class WannierMinimizer> wmin;
92 friend struct CommandWannierMinimize;
101 #endif // JDFTX_WANNIER_WANNIER_H string getFilename(FilenameType fnType, string varName, int *spin=0) const
Base class for different wannier minimizers:
Definition: WannierMinimizer.h:48
vector3< int > phononSup
phonon supercell (process e-ph matrix elements on this supercell if non-zero)
Definition: Wannier.h:75
double eInnerMax
inner energy window (within which all bands used)
Definition: Wannier.h:60
Version of Everything with Wannier added.
Definition: Wannier.h:96
bool saveWfns
whether to write wavefunctions
Definition: Wannier.h:66
int numericalOrbIndex
index to a numerical orbital (<0 if not using a numerical orbital)
Definition: Wannier.h:39
Parameters to control the minimization algorithm.
Definition: MinimizeParams.h:29
string frozenUfilename
number of frozen centers, and the filename to read their rotations from
Definition: Wannier.h:63
bool innerWindow
denotes which windows are available
Definition: Wannier.h:61
string numericalOrbitalsFilename
filename for reading numerical orbitals
Definition: Wannier.h:72
double a
exponential decay length of nodeless hydrogenic orbital of current l
Definition: Wannier.h:37
int atom
species code (<0 if not using a pseudopotential atomic orbital) and atom number (<0 if not using an o...
Definition: Wannier.h:38
std::vector< TrialOrbital > trialOrbitals
group of centers
Definition: Wannier.h:48
double coeff
coefficient (prefactor) in contribution to trial orbital (1 if only using a single orbital) ...
Definition: Wannier.h:41
vector3 numericalOrbitalsOffset
lattice coordinates of the origin in the input
Definition: Wannier.h:73
DOS::Weight::OrbitalDesc orbitalDesc
orbital code
Definition: Wannier.h:40
bool loadRotations
whether to load initial rotations from previous dump
Definition: Wannier.h:69
bool saveMomenta
whether to output momentum matrix elements
Definition: Wannier.h:68
string dumpFilename
filename patterns for input and output
Definition: Wannier.h:70
Definition: Everything.h:41
void saveMLWF()
Output the Maximally-Localized Wannier Functions from current wavefunctions.
Compute Maximally-Localized Wannier Functions.
Definition: Wannier.h:29
double eOuterMax
outer energy window (outside which bands do not contribute)
Definition: Wannier.h:59
int nCenters
total number of centers, those being optimized and frozen
Definition: Wannier.h:64
vector3 r
guess for center of localized wannier function
Definition: Wannier.h:36
bool saveWfnsRealSpace
whether to output Wannier functions band-by-band in real-space
Definition: Wannier.h:67