Skip to content

Commit

Permalink
Re #11086 Add function to integrate
Browse files Browse the repository at this point in the history
  • Loading branch information
raquelalvarezbanos committed Mar 2, 2015
1 parent 8fc0b2d commit 068b847
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Code/Mantid/Framework/CurveFitting/src/DynamicKuboToyabe.cpp
Expand Up @@ -24,6 +24,11 @@ void DynamicKuboToyabe::init()
declareParameter("Nu", 0.0, "Hopping rate");
}

// f1: function to integrate
double f1(const double x, const double G, const double w0) {
return( exp(-G*G*x*x/2)*sin(w0*x));
}

// Static Zero Field Kubo Toyabe relaxation function
double ZFKT (const double x, const double G){

Expand Down

0 comments on commit 068b847

Please sign in to comment.