20 #ifndef JDFTX_ELECTRONIC_ENERGIES_H 21 #define JDFTX_ELECTRONIC_ENERGIES_H 23 #include <electronic/common.h> 31 double F()
const {
return double(E)-
TS; }
34 double G()
const {
return F()-
muN; }
39 void print(FILE* fp=globalLog)
const;
43 const char* relevantFreeEnergyName(
const Everything&);
48 #endif // JDFTX_ELECTRONIC_ENERGIES_H double G() const
Grand free energy (F-muN)
Definition: Energies.h:34
double Eband
band structure energy (tr Hsub)
Definition: Energies.h:36
double TS
Fillings entropy.
Definition: Energies.h:30
double F() const
Helmholtz energy (Etot-TS)
Definition: Energies.h:31
Definition: Energies.h:26
void print(FILE *fp=globalLog) const
print energies to logPrintf / stream
Energies()
initialize all to 0.
Definition: Everything.h:41
Definition: EnergyComponents.h:36
EnergyComponents E
All components of the internal energy (excluding TS and muN)
Definition: Energies.h:28
Represent components of the (free) energy.
double muN
Fixed electron chemical potential Lagrange multiplier.
Definition: Energies.h:33