Added a few uncommon options to musrfit - further testing is required
This commit is contained in:
3
src/external/libGapIntegrals/INSTALL
vendored
3
src/external/libGapIntegrals/INSTALL
vendored
@@ -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 ...
|
||||
|
||||
4
src/external/libGapIntegrals/TIntegrator.cpp
vendored
4
src/external/libGapIntegrals/TIntegrator.cpp
vendored
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user