aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpXProb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WarpXProb.cpp')
-rw-r--r--Source/WarpXProb.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/WarpXProb.cpp b/Source/WarpXProb.cpp
index c90b0f6a8..4b11f75f1 100644
--- a/Source/WarpXProb.cpp
+++ b/Source/WarpXProb.cpp
@@ -1,9 +1,3 @@
-
-//
-// Each problem must have its own version of WarpX::InitLevelData(int lev)
-// to initialize the field data on this level.
-//
-
#include <WarpX.H>
using namespace amrex;
@@ -11,14 +5,9 @@ using namespace amrex;
void
WarpX::InitLevelData (int lev)
{
- static_assert(false,
- "Each problem must have its own version of WarpX::InitLevelData(int lev)");
-
-#if 0
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);
}
-#endif
}