Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
57b14e95
Commit
57b14e95
authored
May 16, 2014
by
COULAUD Olivier
Browse files
minor - 112s) in 112 s)
parent
0d34faed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Examples/ChebyshevInterpolationAlgorithm.cpp
View file @
57b14e95
...
...
@@ -48,7 +48,7 @@
//!
//! This code is a short example to use the Chebyshev Interpolation approach for the 1/r kernel
//!
//!
//!
@Algorithm
//! <b> General arguments:</b>
//! \param -help(-h) to see the parameters available in this driver
//! \param -depth The depth of the octree
...
...
@@ -149,7 +149,7 @@ int main(int argc, char* argv[])
time
.
tac
();
std
::
cout
<<
"Done "
<<
"(@Creating and Inserting Particles = "
<<
time
.
elapsed
()
<<
"s)."
<<
std
::
endl
;
<<
time
.
elapsed
()
<<
"
s)
."
<<
std
::
endl
;
}
// -----------------------------------------------------
{
// -----------------------------------------------------
...
...
@@ -164,7 +164,7 @@ int main(int argc, char* argv[])
algorithm
.
execute
();
// Here the call of the FMM algorithm
//
time
.
tac
();
std
::
cout
<<
"Done "
<<
"(@Algorithm = "
<<
time
.
elapsed
()
<<
"s)."
<<
std
::
endl
;
std
::
cout
<<
"Done "
<<
"(@Algorithm = "
<<
time
.
elapsed
()
<<
"
s)
."
<<
std
::
endl
;
}
// -----------------------------------------------------
//
...
...
Examples/RotationFMM.cpp
View file @
57b14e95
...
...
@@ -80,7 +80,7 @@ int main(int argc, char* argv[])
exit
(
-
1
);
}
#ifdef _OPENMP
omp_set_num_threads
(
NbThreads
);
omp_set_num_threads
(
NbThreads
)
;
std
::
cout
<<
"
\n
>> Using "
<<
omp_get_max_threads
()
<<
" threads.
\n
"
<<
std
::
endl
;
#else
std
::
cout
<<
"
\n
>> Sequential version.
\n
"
<<
std
::
endl
;
...
...
@@ -145,7 +145,7 @@ int main(int argc, char* argv[])
time
.
tac
();
std
::
cout
<<
"Done "
<<
"(@Creating and Inserting Particles = "
<<
time
.
elapsed
()
<<
"s)."
<<
std
::
endl
;
<<
time
.
elapsed
()
<<
"
s)
."
<<
std
::
endl
;
}
// -----------------------------------------------------
{
// -----------------------------------------------------
...
...
@@ -157,12 +157,12 @@ int main(int argc, char* argv[])
//
KernelClass
*
kernels
=
new
KernelClass
(
TreeHeight
,
loader
.
getBoxWidth
(),
loader
.
getCenterOfBox
());
//
FmmClass
algorithm
(
&
tree
,
kernels
);
FmmClass
algorithm
(
&
tree
,
kernels
)
;
//
algorithm
.
execute
();
// Here the call of the FMM algorithm
//
time
.
tac
();
std
::
cout
<<
"Done "
<<
"(@Algorithm = "
<<
time
.
elapsed
()
<<
"s)."
<<
std
::
endl
;
std
::
cout
<<
"Done "
<<
"(@Algorithm = "
<<
time
.
elapsed
()
<<
"
s)
."
<<
std
::
endl
;
}
// -----------------------------------------------------
//
...
...
Write
Preview
Supports
Markdown
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