Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
03d9a81a
Commit
03d9a81a
authored
Sep 07, 2012
by
BRAMAS Berenger
Browse files
Print the potential in high accuracy
parent
2bc23982
Changes
1
Hide whitespace changes
Inline
Side-by-side
Tests/Kernels/testSphericalEwalAlgorithm.cpp
View file @
03d9a81a
...
...
@@ -225,7 +225,7 @@ int main(int argc, char ** argv){
printf
(
"Fz diff is =
\n
"
);
printf
(
"%e
\n
"
,
fz
.
getL2Norm
());
printf
(
"%e
\n
"
,
fz
.
getInfNorm
());
std
::
cout
<<
std
::
endl
<<
std
::
endl
<<
"Potential= "
<<
potential
*
coeff_MD
/
2
<<
std
::
endl
;
std
::
cout
<<
std
::
endl
<<
std
::
endl
<<
"Potential= "
<<
std
::
setprecision
(
8
)
<<
potential
*
coeff_MD
/
2
<<
std
::
endl
;
}
...
...
@@ -257,7 +257,7 @@ int main(int argc, char ** argv){
}
while
(
octreeIterator
.
moveRight
());
std
::
cout
<<
"Foces Sum x = "
<<
forces
.
getX
()
<<
" y = "
<<
forces
.
getY
()
<<
" z = "
<<
forces
.
getZ
()
<<
std
::
endl
;
std
::
cout
<<
"Potential = "
<<
potential
*
coeff_MD
/
2
<<
std
::
endl
;
std
::
cout
<<
"Potential = "
<<
std
::
setprecision
(
8
)
<<
potential
*
coeff_MD
/
2
<<
std
::
endl
;
// std::cout << "Constante DL_POLY: " << coeff_MD << std::endl;
}
// -----------------------------------------------------
...
...
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