Commit 0627845f by Francois Gygi

updated print format for eigenvalues


git-svn-id: http://qboxcode.org/svn/qb/trunk@303 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 9a93e9bf
......@@ -3,7 +3,7 @@
// Wavefunction.C
//
////////////////////////////////////////////////////////////////////////////////
// $Id: Wavefunction.C,v 1.18 2004-11-10 22:33:05 fgygi Exp $
// $Id: Wavefunction.C,v 1.19 2004-12-02 22:19:52 fgygi Exp $
#include "Wavefunction.h"
#include "SlaterDet.h"
......@@ -622,7 +622,7 @@ void Wavefunction::diag(Wavefunction& dwf, bool eigvec)
<< "\" n=\"" << h.m() << "\">" << endl;
for ( int i = 0; i < h.m(); i++ )
{
cout << setw(10) << setprecision(5) << w[i]*eVolt;
cout << setw(12) << setprecision(5) << w[i]*eVolt;
if ( i%5 == 4 ) cout << endl;
}
if ( h.m()%5 != 0 ) cout << endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment