21 #ifndef JDFTX_ELECTRONIC_DUMP_H 22 #define JDFTX_ELECTRONIC_DUMP_H 24 #include <electronic/common.h> 25 #include <electronic/matrix.h> 44 enum DumpVariable { DumpAll, DumpNone, DumpState,
45 DumpIonicPositions, DumpForces, DumpLattice, DumpIonicDensity,
46 DumpElecDensity, DumpElecDensityAccum, DumpCoreDensity, DumpKEdensity, DumpFluidDensity,
47 DumpDvac, DumpDfluid, DumpDtot,
48 DumpVcavity, DumpVfluidTot,
49 DumpVlocps, DumpVscloc, DumpBandEigs, DumpEigStats, DumpFillings, DumpRhoAtom,
50 DumpEcomponents, DumpExcCompare,
51 DumpBoundCharge, DumpSolvationRadii, DumpQMC, DumpOcean, DumpRealSpaceWfns, DumpFluidDebug, DumpSlabEpsilon, DumpChargedDefect,
52 DumpDOS, DumpPolarizability, DumpElectronScattering, DumpSIC, DumpDipole, DumpStress, DumpExcitations,
53 DumpMomenta, DumpSymmetries, DumpKpoints, DumpGvectors, DumpOrbitalDep, DumpXCanalysis, DumpEresolvedDensity, DumpFermiDensity,
59 class Dump :
public std::set<std::pair<DumpFrequency,DumpVariable> >
75 std::shared_ptr<class DOS>
dos;
87 std::map<DumpFrequency,int> interval;
88 friend struct CommandDump;
89 friend struct CommandDumpName;
90 friend struct CommandDumpInterval;
98 #endif // JDFTX_ELECTRONIC_DUMP_H std::shared_ptr< struct SlabEpsilon > slabEpsilon
slab dielectric function calculator
Definition: Dump.h:80
bool potentialSubtraction
whether to subtract neutral-atom potentials in Dvac and Dtot output
Definition: Dump.h:82
std::shared_ptr< class DOS > dos
density-of-states calculator
Definition: Dump.h:75
std::shared_ptr< struct ChargedDefect > chargedDefect
charged defect correction calculator
Definition: Dump.h:81
Real and complex scalar fields in real and reciprocal space.
std::vector< std::pair< double, double > > densityErange
energy ranges for energy-resolved density output
Definition: Dump.h:78
bool checkInterval(DumpFrequency freq, int iter) const
Check whether to dump at given frequency and iteration:
std::shared_ptr< struct ElectronScattering > electronScattering
electron-electron scattering calculator
Definition: Dump.h:77
std::shared_ptr< struct Polarizability > polarizability
electronic polarizability calculator
Definition: Dump.h:76
Definition: Everything.h:41
std::shared_ptr< ScalarFieldData > ScalarField
A smart reference-counting pointer to ScalarFieldData.
Definition: ScalarField.h:41
std::vector< double > fermiDensityLevels
energies at which to evaluate fermi-dirac derivative
Definition: Dump.h:79
string getFilename(string varName) const
Get the dump filename corresponding to a particular variable name.
void operator()(DumpFrequency freq, int iter)
Stores the list of what to dump and when, and implements the functions to do so.
Definition: Dump.h:59