X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBasics%2FHeatMarcel.cxx;h=f43b8229b26ecf74de58abbb4b8641d057c4c0c6;hb=1bbffef73eeeb5b2a14d8fc7bdf91affdafae664;hp=a461a228861d1484f21e55a230fae1a87f7fa450;hpb=01fb5e19b0cc6f25c64be7bf96fa35676609a4e7;p=modules%2Fkernel.git diff --git a/src/Basics/HeatMarcel.cxx b/src/Basics/HeatMarcel.cxx index a461a2288..f43b8229b 100644 --- a/src/Basics/HeatMarcel.cxx +++ b/src/Basics/HeatMarcel.cxx @@ -27,8 +27,7 @@ #include #include #include - -#include +#include template static void GetSlice(T start, T stop, const unsigned int sliceId, const unsigned int nbOfSlices, T& startSlice, T& stopSlice) @@ -59,7 +58,7 @@ static void SimulateOneCoreOfComputationNode(std::uint64_t start, std::uint64_t static long double SimulateOnAllCoresOfComputationNodeInternal(std::uint64_t nbTurn, unsigned int nbThreads) { - SIMPLE_MESSAGE( "Number of turn = 10**" << std::log10((double)nbTurn) ); + SIMPLE_MESSAGE( "Number of turn = " << std::scientific << std::setprecision(12) << (double)nbTurn ); std::vector< std::thread > threads(nbThreads); std::vector res(nbThreads); for(auto iCore = 0 ; iCore < nbThreads ; ++iCore)