Commit 57b14e95 authored by COULAUD Olivier's avatar COULAUD Olivier

minor - 112s) in 112 s)

parent 0d34faed
......@@ -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;
}
// -----------------------------------------------------
//
......
......@@ -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;
}
// -----------------------------------------------------
//
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment