Index: ../trunk-jpl/src/c/analyses/SealevelriseAnalysis.cpp =================================================================== --- ../trunk-jpl/src/c/analyses/SealevelriseAnalysis.cpp (revision 20043) +++ ../trunk-jpl/src/c/analyses/SealevelriseAnalysis.cpp (revision 20044) @@ -70,8 +70,29 @@ iomodel->FetchData(°acc,SealevelriseDegaccEnum); M=reCast(180./degacc+1.); G_elastic=xNew(M); + + /*compute combined legendre + love number (elastic green function:*/ + #ifdef _HAVE_ADOLC_ + for(int i=0;i(i)*degacc * PI / 180.0; - /*compute combined legendre + love number (elastic green function:*/ + G_elastic[i]= (love_k[nl-1]-love_h[nl-1])/2.0/sin(alpha/2.0); + for (int n=0;n(m); @@ -113,29 +134,8 @@ xDelete(displs); /*}}}*/ + #endif - /*Old code: {{{*/ - /*for(int i=0;i(i)*degacc * PI / 180.0; - - G_elastic[i]= (love_k[nl-1]-love_h[nl-1])/2.0/sin(alpha/2.0); - for (int n=0;nAddObject(new DoubleVecParam(SealevelriseGElasticEnum,G_elastic,M));