aboutsummaryrefslogtreecommitdiff
path: root/Source/main.cpp
diff options
context:
space:
mode:
authorGravatar Tools <warpx@lbl.gov> 2019-09-11 10:06:14 -0700
committerGravatar Axel Huebl <axel.huebl@plasma.ninja> 2019-09-11 10:12:00 -0700
commitfd848331f2fd6af8c56a0027cc5f088286e347c4 (patch)
tree9f81ea5e8475ab5bd1e769d7865fc7fd492d06eb /Source/main.cpp
parentf182366aaf66a770715b144ac0a760a998f59ed4 (diff)
downloadWarpX-fd848331f2fd6af8c56a0027cc5f088286e347c4.tar.gz
WarpX-fd848331f2fd6af8c56a0027cc5f088286e347c4.tar.zst
WarpX-fd848331f2fd6af8c56a0027cc5f088286e347c4.zip
Source & Tools: No EOL Whitespaces
End-of-line (EOL) whitespaces are verbose and increase diffs and merge conflicts over time. Cleaned them up for the `Source/`, `Examples/` and `Tools/` directory with the following bash one-liner: ```bash find . -type f -not -path './.git*' \ -exec sed -i 's/[[:blank:]]*$//' {} \; ``` Committed as generic user so git does not credit the many lines to me: ```bash GIT_AUTHOR_NAME="Tools" GIT_AUTHOR_EMAIL="warpx@lbl.gov" \ git commit ```
Diffstat (limited to 'Source/main.cpp')
-rw-r--r--Source/main.cpp8
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';