Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
David Cazier
CGoGN
Commits
ba956bbd
Commit
ba956bbd
authored
Feb 07, 2015
by
Sauvage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
constante math M_SQRT2 au lieu de sqrt(2.0)
parent
32f4ff4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/Utils/sphericalHarmonics.hpp
include/Utils/sphericalHarmonics.hpp
+1
-1
No files found.
include/Utils/sphericalHarmonics.hpp
View file @
ba956bbd
...
...
@@ -178,7 +178,7 @@ void SphericalHarmonics<Tscalar,Tcoef>::compute_y_tab (Tscalar phi)
for
(
int
l
=
m
;
l
<=
resolution
;
l
++
)
{
F_tab
[
index
(
l
,
m
)]
*=
sqrt
(
2.0
);
// remove for plotting
F_tab
[
index
(
l
,
m
)]
*=
M_SQRT2
;
//
sqrt(2.0); // remove for plotting
F_tab
[
index
(
l
,
m
)]
*=
K_tab
[
index
(
l
,
m
)];
// remove for plotting
F_tab
[
index
(
l
,
-
m
)]
=
F_tab
[
index
(
l
,
m
)]
*
sin_m_phi
;
// store the values for -m<0 in the upper triangle
F_tab
[
index
(
l
,
m
)]
*=
cos_m_phi
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment