IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 055d17cd authored by André Schmidt's avatar André Schmidt Committed by ralfulrich
Browse files

remove condon shortley

parent 1c42ced0
No related branches found
No related tags found
No related merge requests found
......@@ -149,11 +149,9 @@ namespace corsika {
// Schmidt semi-normalization and Condon-Shortley phase term
if (p.m > 0) {
// Note: n! = tgamma(n+1)
legendre *= sqrt(2 * std::tgamma(p.n - p.m + 1) / std::tgamma(p.n + p.m + 1)) *
pow(-1, p.m);
legendre *= sqrt(2 * std::tgamma(p.n - p.m + 1) / std::tgamma(p.n + p.m + 1));
next_legendre *=
sqrt(2 * std::tgamma(p.n + 1 - p.m + 1) / std::tgamma(p.n + 1 + p.m + 1)) *
pow(-1, p.m);
sqrt(2 * std::tgamma(p.n + 1 - p.m + 1) / std::tgamma(p.n + 1 + p.m + 1));
}
derivate_legendre =
(p.n + 1) * tan(lat_sph) * legendre -
......
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