1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

Modest changes

This commit is contained in:
Peter Boyle 2015-11-29 00:31:57 +00:00
parent 42e6055746
commit fff0f00552

View File

@ -35,7 +35,7 @@ public:
random(pRNG,scale); random(pRNG,scale);
scale = exp(-real(scale)*6.0); scale = exp(-real(scale)*3.0);
std::cout << " True matrix \n"<< scale <<std::endl; std::cout << " True matrix \n"<< scale <<std::endl;
} }
@ -88,8 +88,7 @@ int main (int argc, char ** argv)
RealD mu = 0.0; RealD mu = 0.0;
int order = 11; int order = 11;
ChebyshevLanczos<LatticeComplex> Cheby(alpha,beta,mu,order); ChebyshevLanczos<LatticeComplex> Cheby(alpha,beta,mu,order);
std::ofstream file("cheby.dat");
std::ofstream file("pooh.dat");
Cheby.csv(file); Cheby.csv(file);
HermOpOperatorFunction<LatticeComplex> X; HermOpOperatorFunction<LatticeComplex> X;
@ -114,9 +113,9 @@ int main (int argc, char ** argv)
} }
{ {
std::vector<RealD> eval(Nm); // std::vector<RealD> eval(Nm);
std::vector<LatticeComplex> evec(Nm,grid); // std::vector<LatticeComplex> evec(Nm,grid);
ChebyIRL.calc(eval,evec,src, Nconv); // ChebyIRL.calc(eval,evec,src, Nconv);
} }
Grid_finalize(); Grid_finalize();