Skip to content

Commit

Permalink
...EJB
Browse files Browse the repository at this point in the history
  • Loading branch information
ebylaska committed Nov 19, 2024
1 parent 6267cf4 commit 3e55a9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Nwpw/pspw/lib/molecule/Molecule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@ double Molecule::psi_KS_update(const int maxit_orb, const double maxerror,
int ishift = ms*neq[0]*2*mygrid->PGrid::npack(1);
for (auto i=neq[ms]-1; i>=0; --i)
{
double total_energy0 = this->energy();
std::cout << "TOTAL ENERGY=" << total_energy0 << std::endl;

int indx = 2*mygrid->PGrid::npack(1)*i + ishift;
double *orb = psi + indx;

Expand Down

0 comments on commit 3e55a9a

Please sign in to comment.