diff options
author | 2016-11-16 11:07:45 -0800 | |
---|---|---|
committer | 2016-11-16 11:07:45 -0800 | |
commit | 36c5b11aab3692b7d65a1bc052bff567ced48edf (patch) | |
tree | 68b6c171c29074c9da5372d7f6e0f36ee083b46e /Python/WarpXProb.cpp | |
parent | f306ad61abb3bb083cf77268b0011dd20b88e7fd (diff) | |
download | WarpX-36c5b11aab3692b7d65a1bc052bff567ced48edf.tar.gz WarpX-36c5b11aab3692b7d65a1bc052bff567ced48edf.tar.zst WarpX-36c5b11aab3692b7d65a1bc052bff567ced48edf.zip |
start 2D
Diffstat (limited to 'Python/WarpXProb.cpp')
-rw-r--r-- | Python/WarpXProb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/WarpXProb.cpp b/Python/WarpXProb.cpp index c1534af68..722b2931e 100644 --- a/Python/WarpXProb.cpp +++ b/Python/WarpXProb.cpp @@ -9,7 +9,7 @@ void WarpX::InitLevelData (int lev) { - for (int i = 0; i < BL_SPACEDIM; ++i) { + for (int i = 0; i < 3; ++i) { current[lev][i]->setVal(0.0); Efield[lev][i]->setVal(0.0); Bfield[lev][i]->setVal(0.0); |