Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KiT-RT
KiT-RT
Commits
bc28f758
Commit
bc28f758
authored
Dec 10, 2020
by
Steffen Schotthöfer
Browse files
removed debug code
parent
742a5caf
Changes
1
Hide whitespace changes
Inline
Side-by-side
code/tests/test_sphericalBasis.cpp
View file @
bc28f758
...
...
@@ -250,17 +250,6 @@ TEST_CASE( "test spherical monomial basis", "[spherical_monomials]" ) {
for
(
double
phi
=
0.0
;
phi
<
2
*
M_PI
;
phi
+=
0.1
)
{
moment
=
testBase
.
ComputeSphericalBasis
(
my
,
phi
);
std
::
cout
<<
"(algo|real): ("
<<
moment
[
0
]
<<
" | "
<<
SphericalMonomial_0
(
my
,
phi
)
<<
")"
<<
std
::
endl
;
std
::
cout
<<
"(algo|real): ("
<<
moment
[
1
]
<<
" | "
<<
SphericalMonomial_1
(
my
,
phi
)
<<
")"
<<
std
::
endl
;
std
::
cout
<<
"(algo|real): ("
<<
moment
[
2
]
<<
" | "
<<
SphericalMonomial_2
(
my
,
phi
)
<<
")"
<<
std
::
endl
;
std
::
cout
<<
"(algo|real): ("
<<
moment
[
3
]
<<
" | "
<<
SphericalMonomial_3
(
my
,
phi
)
<<
")"
<<
std
::
endl
;
std
::
cout
<<
"(algo|real): ("
<<
moment
[
4
]
<<
" | "
<<
SphericalMonomial_4
(
my
,
phi
)
<<
")"
<<
std
::
endl
;
std
::
cout
<<
"(algo|real): ("
<<
moment
[
5
]
<<
" | "
<<
SphericalMonomial_5
(
my
,
phi
)
<<
")"
<<
std
::
endl
;
std
::
cout
<<
"(algo|real): ("
<<
moment
[
6
]
<<
" | "
<<
SphericalMonomial_6
(
my
,
phi
)
<<
")"
<<
std
::
endl
;
std
::
cout
<<
"(algo|real): ("
<<
moment
[
7
]
<<
" | "
<<
SphericalMonomial_7
(
my
,
phi
)
<<
")"
<<
std
::
endl
;
std
::
cout
<<
"(algo|real): ("
<<
moment
[
8
]
<<
" | "
<<
SphericalMonomial_8
(
my
,
phi
)
<<
")"
<<
std
::
endl
;
std
::
cout
<<
"(algo|real): ("
<<
moment
[
9
]
<<
" | "
<<
SphericalMonomial_9
(
my
,
phi
)
<<
")"
<<
std
::
endl
;
if
(
std
::
fabs
(
moment
[
0
]
-
SphericalMonomial_0
(
my
,
phi
)
)
>
1e2
*
std
::
numeric_limits
<
double
>::
epsilon
()
)
validMoment
[
0
]
=
false
;
if
(
std
::
fabs
(
moment
[
1
]
-
SphericalMonomial_1
(
my
,
phi
)
)
>
1e2
*
std
::
numeric_limits
<
double
>::
epsilon
()
)
validMoment
[
1
]
=
false
;
if
(
std
::
fabs
(
moment
[
2
]
-
SphericalMonomial_2
(
my
,
phi
)
)
>
1e2
*
std
::
numeric_limits
<
double
>::
epsilon
()
)
validMoment
[
2
]
=
false
;
...
...
jannick.wolters
@jm2154
mentioned in commit
4358fbd2
·
Apr 30, 2021
mentioned in commit
4358fbd2
mentioned in commit 4358fbd237dab87b19a14cd1d9b1225c1fe15cdd
Toggle commit list
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