Commit 96297123 authored by Jean-Eric Campagne's avatar Jean-Eric Campagne
Browse files

(JEC) 19/1/16 polish test

parent c1ffb0f8
...@@ -335,7 +335,8 @@ void SpinMultiSphericalLaguerreTransform() { ...@@ -335,7 +335,8 @@ void SpinMultiSphericalLaguerreTransform() {
vector< complex<r_8> > ElmnOrig(Ntot); vector< complex<r_8> > ElmnOrig(Ntot);
vector< complex<r_8> > BlmnOrig(Ntot); vector< complex<r_8> > BlmnOrig(Ntot);
int id=-1; int id
=-1;
for(int n=0;n<Nmax;n++){ //on each shell for(int n=0;n<Nmax;n++){ //on each shell
for(int m=0;m<Lmax;m++){ //Warning the filling of alm is adapted for libsharp memory for(int m=0;m<Lmax;m++){ //Warning the filling of alm is adapted for libsharp memory
...@@ -400,7 +401,7 @@ void SpinMultiSphericalLaguerreTransform() { ...@@ -400,7 +401,7 @@ void SpinMultiSphericalLaguerreTransform() {
r_8 err_rel(0.); r_8 err_rel(0.);
int imax = -1; int imax = -1;
for(int i=0;i<Ntot;i++){ for(int i=0;i<Ntot;i++){
if(i<100) { if(i>(Ntot-9)) {
cout << "(" << i << ") : Elnm Orig " << ElmnOrig[i] << " <-> Elmn Rec " << Elmn[i] << endl; cout << "(" << i << ") : Elnm Orig " << ElmnOrig[i] << " <-> Elmn Rec " << Elmn[i] << endl;
cout << "............ Blnm Orig " << BlmnOrig[i] << " <-> Blmn Rec " << Blmn[i] << endl; cout << "............ Blnm Orig " << BlmnOrig[i] << " <-> Blmn Rec " << Blmn[i] << endl;
} }
...@@ -860,7 +861,7 @@ int main(int narg, char *arg[]) { ...@@ -860,7 +861,7 @@ int main(int narg, char *arg[]) {
cout << "Configuration parameters are set to: " cout << "Configuration parameters are set to: "
<< " Test number : " << test << "\n" << " Test number : " << test << "\n"
<< " Lmax, Nmax, Pmax, Rmax , alpha: " << " Lmax, Nmax, Pmax, spin, Rmax , alpha: "
<< param.Lmax << ", " << param.Lmax << ", "
<< param.N << ", " << param.N << ", "
<< param.Pmax << ", " << param.Pmax << ", "
......
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