diff options
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r-- | Source/WarpX.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index c9ea8bb94..e4ac79cec 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -583,6 +583,7 @@ WarpX::ReadParameters () AMREX_ALWAYS_ASSERT_WITH_MESSAGE( nox == noy and nox == noz , "warpx.nox, noy and noz must be equal"); AMREX_ALWAYS_ASSERT_WITH_MESSAGE( nox >= 1, "warpx.nox must >= 1"); + AMREX_ALWAYS_ASSERT_WITH_MESSAGE( nox <= 3, "warpx.nox must <= 3"); } { |