Commit 751e724a by Francois Gygi

Cleanup white space


git-svn-id: http://qboxcode.org/svn/qb/trunk@715 cba15fb0-1239-40c8-b417-11db7ca47a34
parent f4ba0a50
......@@ -15,7 +15,7 @@
// PlotCmd.C:
//
////////////////////////////////////////////////////////////////////////////////
// $Id: PlotCmd.C,v 1.3 2009-08-14 17:06:43 fgygi Exp $
// $Id: PlotCmd.C,v 1.4 2009-08-26 15:03:50 fgygi Exp $
#include "PlotCmd.h"
#include "isodate.h"
......@@ -102,14 +102,14 @@ int PlotCmd::action(int argc, char **argv)
if ( nmin < 0 || nmax >= s->wf.nst() || nmin > nmax )
{
if ( ui->onpe0() )
cout << " nmin or nmax incompatible with nst="
cout << " nmin or nmax incompatible with nst="
<< s->wf.nst() << endl;
return 1;
}
}
else if ( argc == 5 )
{
// plot -wf <nmin> <nmin> filename :
// plot -wf <nmin> <nmin> filename :
// plot density of wfs <nmin> to <nmax>
if ( strcmp(argv[1],"-wf") )
{
......@@ -127,7 +127,7 @@ int PlotCmd::action(int argc, char **argv)
if ( nmin < 0 || nmax >= s->wf.nst() || nmin > nmax )
{
if ( ui->onpe0() )
cout << " nmin or nmax incompatible with nst="
cout << " nmin or nmax incompatible with nst="
<< s->wf.nst() << endl;
return 1;
}
......@@ -256,7 +256,7 @@ int PlotCmd::action(int argc, char **argv)
}
else
{
// complex function: plot modulus
// complex function: plot modulus
for ( int i = 0; i < ft.np012loc(); i++ )
wftmpr[i] = sqrt(a[2*i]*a[2*i] + a[2*i+1]*a[2*i+1]);
}
......@@ -363,7 +363,7 @@ int PlotCmd::action(int argc, char **argv)
}
}
}
else
else
{
// write header and atoms
os << "Created " << isodate() << " by qbox-" << release() << endl;
......
......@@ -15,7 +15,7 @@
// SlaterDet.C
//
////////////////////////////////////////////////////////////////////////////////
// $Id: SlaterDet.C,v 1.56 2009-08-14 17:58:01 fgygi Exp $
// $Id: SlaterDet.C,v 1.57 2009-08-26 15:03:50 fgygi Exp $
#include "SlaterDet.h"
#include "FourierTransform.h"
......@@ -1376,7 +1376,7 @@ void SlaterDet::print(ostream& os, string encoding, double weight, int ispin,
}
////////////////////////////////////////////////////////////////////////////////
void SlaterDet::write(SharedFilePtr& sfp, string encoding, double weight,
void SlaterDet::write(SharedFilePtr& sfp, string encoding, double weight,
int ispin, int nspin) const
{
FourierTransform ft(*basis_,basis_->np(0),basis_->np(1),basis_->np(2));
......
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