Skip to content
Snippets Groups Projects
Commit efc04100 authored by Celine Durniak's avatar Celine Durniak
Browse files

correction of factor 2Pi for hemi spheroid form factor

parent 7d20313c
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,7 @@ double FormFactorHemiSpheroid::HemiSpheroidIntegralImaginary( ...@@ -115,7 +115,7 @@ double FormFactorHemiSpheroid::HemiSpheroidIntegralImaginary(
double J1_gamma_div_gamma = std::abs(gamma) > Numeric::double_epsilon ? double J1_gamma_div_gamma = std::abs(gamma) > Numeric::double_epsilon ?
MathFunctions::Bessel_J1(std::abs(gamma))/gamma : MathFunctions::Bessel_J1(std::abs(gamma))/gamma :
0.5; 0.5;
double exp_imag = std::exp(complex_t(0.0,-1.0)*qz*Z).imag(); double exp_imag = std::exp(complex_t(0.0,1.0)*qz*Z).imag();
return Rz *Wz * J1_gamma_div_gamma * exp_imag; return Rz *Wz * J1_gamma_div_gamma * exp_imag;
} }
...@@ -125,5 +125,5 @@ complex_t FormFactorHemiSpheroid::evaluate_for_q(const cvector_t& q) const ...@@ -125,5 +125,5 @@ complex_t FormFactorHemiSpheroid::evaluate_for_q(const cvector_t& q) const
{ {
m_q = q; m_q = q;
return 2*M_PI*complex_t(0.0, 1.0)*evaluate_for_q_imag() + return 2*M_PI*complex_t(0.0, 1.0)*evaluate_for_q_imag() +
evaluate_for_q_real(); 2*M_PI*evaluate_for_q_real();
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment