1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-18 15:57:05 +01:00

PartialFraction Hw with Zolo and Tanh approx converged under CG and passed EO breakdown

and hermiticity tests.
This commit is contained in:
Peter Boyle
2015-06-04 13:28:37 +01:00
parent 21d193b1c8
commit 63a61fcc2a
21 changed files with 501 additions and 56 deletions

View File

@ -31,7 +31,7 @@ namespace Grid {
{
RealD eps = lo/hi;
Approx::zolotarev_data *zdata = Approx::grid_zolotarev(eps,this->Ls,0);// eps is ignored for higham
Approx::zolotarev_data *zdata = Approx::zolotarev(eps,this->Ls,0);
assert(zdata->n==this->Ls);
std::cout << "MobiusZolotarevFermion (b="<<b<<",c="<<c<<") with Ls= "<<Ls<<" Zolotarev range ["<<lo<<","<<hi<<"]"<<std::endl;
@ -39,6 +39,7 @@ namespace Grid {
// Call base setter
this->CayleyFermion5D::SetCoefficientsZolotarev(hi,zdata,b,c);
Approx::zolotarev_free(zdata);
}
};