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 3e55a9a commit 6ad3142
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Nwpw/pspw/lib/molecule/Molecule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ double Molecule::psi_KS_update(const int maxit_orb, const double maxerror,
for (auto i=neq[ms]-1; i>=0; --i)
{
double total_energy0 = this->energy();
std::cout << "TOTAL ENERGY=" << total_energy0 << std::endl;
std::cout << "i0=" << i << " TOTAL ENERGY=" << total_energy0 << std::endl;

int indx = 2*mygrid->PGrid::npack(1)*i + ishift;
double *orb = psi + indx;
Expand All @@ -443,6 +443,9 @@ double Molecule::psi_KS_update(const int maxit_orb, const double maxerror,
esum += e0;

std::cout << "i=" << i << " e0="<< e0<< std::endl;

double total_energy1 = this->energy();
std::cout << "i=" << i << " TOTAL ENERGY=" << total_energy1 << std::endl;
}
}

Expand Down

0 comments on commit 6ad3142

Please sign in to comment.