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

no message

parent efc04100
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ complex_t FormFactorCylinder::evaluate_for_q(const cvector_t& q) const
complex_t qrR = q.magxy()*R;
complex_t J1_qrR_div_qrR = std::abs(qrR) > Numeric::double_epsilon ?
MathFunctions::Bessel_J1(std::abs(qrR))/qrR :
MathFunctions::Bessel_J1(std::abs(qrR))/(std::abs(qrR)) :
0.5;
complex_t radial_part = 2*M_PI*R*R*J1_qrR_div_qrR;
......
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