Skip to content
Snippets Groups Projects
Commit d60ea82e authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Undo dynamic orders in SPHERE

parent c535f591
No related branches found
No related tags found
No related merge requests found
......@@ -576,12 +576,6 @@ int sphere_jxi488_cycle(
oi->vec_vk[jxindex] = vk;
oi->vec_xi[jxindex] = xi;
}
// Adaptive definition of L_MAX
double wavelength = 2.0 * pi / vk;
double size_param = 2.0 * pi * sconf->get_radius(0) / wavelength;
int N = int(size_param + 4.05 * pow(size_param, 1.0 / 3.0)) + 2;
if (N < l_max) l_max = N;
// End of adaptive definition of L_MAX
vtppoanp->append_line(VirtualBinaryLine(vk));
double thsca = (gconf->isam > 1) ? sa->ths - sa->th : 0.0;
for (int i132 = 0; i132 < nsph; i132++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment