44 assert(0 &&
"unimplemented");
46 void Solve()
override;
51 void SetGrid(std::shared_ptr<Grid>& newGrid)
override;
56 inline double Hartree1(
double r,
double sum);
57 inline double Hartree2(
double r,
double sum);
Array< double, 1 > OldEnergies
void CalcEnergies(double &kinetic, double &potential, double &hartree, double &XC) override
CubicSplineCommon ChargeDensity
void SetGrid(std::shared_ptr< Grid > &newGrid) override
The CubicSplineCommon class is a third-order spline representation of a function. ...
void Read(IOSectionClass &in) override
void SetBarePot(Potential *pot) override
CubicSplineCommon Hartree
void UpdateVHXC() override
This function calculates the charge density, hartree and exchange potentials and places them in pot...
void Write(IOSectionClass &out) override
double Hartree1(double r, double sum)
double Hartree2(double r, double sum)
Wrapper class for IOTreeClass that gives a nearly identical interface as the OutputSectionClass.
void UpdateChargeDensity()