mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-31 03:54:33 +00:00 
			
		
		
		
	PartialFraction Hw with Zolo and Tanh approx converged under CG and passed EO breakdown
and hermiticity tests.
This commit is contained in:
		| @@ -30,12 +30,12 @@ namespace Grid { | ||||
| 	{ | ||||
| 	  assert((Ls&0x1)==1); // Odd Ls required | ||||
|  | ||||
| 	  int nrational=Ls-1;// Even rational order | ||||
| 	  int nrational=Ls;// Odd rational order | ||||
| 	  RealD eps = lo/hi; | ||||
|  | ||||
| 	  Approx::zolotarev_data *zdata = Approx::grid_zolotarev(eps,nrational,0); | ||||
|  | ||||
| 	  Approx::zolotarev_data *zdata = Approx::zolotarev(eps,nrational,0); | ||||
| 	  SetCoefficientsZolotarev(hi,zdata); | ||||
| 	  Approx::zolotarev_free(zdata); | ||||
|  | ||||
| 	} | ||||
|     }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user