Commit d6670035 by Francois Gygi

Increase precision in print function


git-svn-id: http://qboxcode.org/svn/qb/trunk@225 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 2aa7df8b
......@@ -3,7 +3,7 @@
// Wavefunction.C
//
////////////////////////////////////////////////////////////////////////////////
// $Id: Wavefunction.C,v 1.14 2004-04-08 15:44:11 fgygi Exp $
// $Id: Wavefunction.C,v 1.15 2004-05-20 00:17:54 fgygi Exp $
#include "Wavefunction.h"
#include "SlaterDet.h"
......@@ -716,6 +716,7 @@ void Wavefunction::print(ostream& os, string encoding, string tag)
<< " nspin=\"" << nspin_ << "\""
<< " nel=\"" << nel_ << "\""
<< " nempty=\"" << nempty_ << "\">" << endl;
os << setprecision(10);
os << "<domain a=\""
<< cell_.a(0) << "\"\n b=\""
<< cell_.a(1) << "\"\n c=\""
......@@ -746,6 +747,7 @@ void Wavefunction::write(FILE* outfile, string encoding, string tag)
<< " nspin=\"" << nspin_ << "\""
<< " nel=\"" << nel_ << "\""
<< " nempty=\"" << nempty_ << "\">" << endl;
os << setprecision(10);
os << "<domain a=\""
<< cell_.a(0) << "\"\n b=\""
<< cell_.a(1) << "\"\n c=\""
......
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