diff --git a/src/classes/PMsr2Data.cpp b/src/classes/PMsr2Data.cpp index 85e437b7..c327876c 100644 --- a/src/classes/PMsr2Data.cpp +++ b/src/classes/PMsr2Data.cpp @@ -380,7 +380,7 @@ bool PMsr2Data::PrepareNewInputFile(unsigned int tempRun) const } else { cout << endl; cout << ">> msr2data: **WARNING** The template run file number does not match the \"file index\"" << endl; - cout << ">> msr2data: **WARNING** Unexpected things may happen... (for sure)" << endl; + cout << ">> msr2data: **WARNING** Unexpected things will happen... (for sure)" << endl; } } out << line << endl; diff --git a/src/external/libGapIntegrals/INSTALL b/src/external/libGapIntegrals/INSTALL index ac42c0e8..ad927704 100644 --- a/src/external/libGapIntegrals/INSTALL +++ b/src/external/libGapIntegrals/INSTALL @@ -8,7 +8,7 @@ Installation of the musrfit-plugin "libGapIntegrals.so" * Download the latest version of the Cuba library ( http://www.feynarts.de/cuba/ ) * Install Cuba using the following inside the extracted directory - ./configure + CFLAGS=-fPIC ./configure make make install @@ -24,6 +24,7 @@ Installation of the musrfit-plugin "libGapIntegrals.so" userFcn libGapIntegrals.so TGapSWave 4 5 userFcn libGapIntegrals.so TGapDWave 4 5 + userFcn libGapIntegrals.so TGapAnSWave 4 5 6 #--------------------------------------------------------------------- # this is the end ... diff --git a/src/external/libGapIntegrals/TIntegrator.cpp b/src/external/libGapIntegrals/TIntegrator.cpp index 0304be4e..4a22f36a 100644 --- a/src/external/libGapIntegrals/TIntegrator.cpp +++ b/src/external/libGapIntegrals/TIntegrator.cpp @@ -98,7 +98,7 @@ void TAnSWaveGapIntegralCuhre::Integrand(const int *ndim, const double x[], const int *ncomp, double f[]) // x = {E, phi}, fPar = {T, Delta(T),a} { double twokt(2.0*0.08617384436*fPar[0]); // kB in meV/K - double Ec(4.0*(fPar[0]+fPar[1])); // upper limit of energy-integration: cutoff energy + double Ec(4.0*(fPar[0]+(1.0+fPar[2])*fPar[1])); // upper limit of energy-integration: cutoff energy double phic(TMath::PiOver2()); // upper limit of phi-integration double deltasq(TMath::Power(fPar[1]*(1.0+fPar[2]*TMath::Cos(4.0*x[1]*phic)),2.0)); f[0] = -phic*Ec/(2.0*twokt*TMath::Power(TMath::CosH(TMath::Sqrt(x[0]*x[0]*Ec*Ec+deltasq)/twokt),2.0)); @@ -142,7 +142,7 @@ void TAnSWaveGapIntegralDivonne::Integrand(const int *ndim, const double x[], const int *ncomp, double f[]) // x = {E, phi}, fPar = {T, Delta(T),a} { double twokt(2.0*0.08617384436*fPar[0]); // kB in meV/K - double Ec(4.0*(fPar[0]+fPar[1])); // upper limit of energy-integration: cutoff energy + double Ec(4.0*(fPar[0]+(1.0+fPar[2])*fPar[1])); // upper limit of energy-integration: cutoff energy double phic(TMath::PiOver2()); // upper limit of phi-integration double deltasq(TMath::Power(fPar[1]*(1.0+fPar[2]*TMath::Cos(4.0*x[1]*phic)),2.0)); f[0] = -phic*Ec/(2.0*twokt*TMath::Power(TMath::CosH(TMath::Sqrt(x[0]*x[0]*Ec*Ec+deltasq)/twokt),2.0)); diff --git a/src/msr2data.cpp b/src/msr2data.cpp index 0a775a66..326064f1 100644 --- a/src/msr2data.cpp +++ b/src/msr2data.cpp @@ -63,10 +63,14 @@ bool isNumber(const string &s) */ void msr2data_syntax() { - cout << endl << "usage 1: msr2data [-o] [data] [noheader] [nosummary] [fit-