mirror of
https://github.com/TREX-CoE/Sherman-Morrison.git
synced 2024-12-26 06:15:08 +01:00
More changes to debug output.
This commit is contained in:
parent
de8e89df75
commit
ffbde8f88c
@ -65,6 +65,11 @@ void MaponiA3(double *Slater_inv, unsigned int Dim,
|
||||
|
||||
// Calculate the y0k
|
||||
for (k = 1; k < N_updates + 1; k++) {
|
||||
#ifdef DEBUG
|
||||
cout << "Compute y0k: " << endl;
|
||||
cout << "ylk[0][" << k << "][:]" << endl;
|
||||
cout << endl;
|
||||
#endif
|
||||
for (i = 1; i < Dim + 1; i++) {
|
||||
for (j = 1; j < Dim + 1; j++) {
|
||||
ylk[0][k][i] += Slater_inv[(i-1)*Dim + (j-1)]
|
||||
@ -118,7 +123,7 @@ void MaponiA3(double *Slater_inv, unsigned int Dim,
|
||||
cout << "Compute inverse. Inside l-loop: l = " << l << endl;
|
||||
cout << "component = Updates_index[p[" << k << "] - 1] = Updates_index[" << p[k] - 1 << "] = " << Updates_index[p[k] - 1] << endl;
|
||||
cout << "beta = 1 + ylk[" << l << "][" << p[k] << "][" << component << "]" << endl;
|
||||
cout << "ylk[" << l << "][" << p[k] << "][:]" << endl;
|
||||
cout << "ylk[l][p[k]][:] = ylk[" << l << "][" << p[k] << "][:]" << endl;
|
||||
cout << endl;
|
||||
#endif
|
||||
for (i = 0; i < Dim; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user