diff options
Diffstat (limited to 'Source/main.cpp')
-rw-r--r-- | Source/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/main.cpp b/Source/main.cpp index d31268b12..6aca49cd3 100644 --- a/Source/main.cpp +++ b/Source/main.cpp @@ -25,18 +25,18 @@ int main(int argc, char* argv[]) ConvertLabParamsToBoost(); BL_PROFILE_VAR("main()", pmain); - + const Real strt_total = amrex::second(); { WarpX warpx; - + warpx.InitData(); warpx.Evolve(); - + Real end_total = amrex::second() - strt_total; - + ParallelDescriptor::ReduceRealMax(end_total ,ParallelDescriptor::IOProcessorNumber()); if (warpx.Verbose()) { amrex::Print() << "Total Time : " << end_total << '\n'; |