diff options
author | 2020-07-22 17:28:00 -0700 | |
---|---|---|
committer | 2020-07-22 17:28:00 -0700 | |
commit | fd8a4bc0af84f9b5b074b18554becd92d22cb9e4 (patch) | |
tree | 31ae42fe56a083bf4779d6e71fb899e41586f736 /Source/WarpX.cpp | |
parent | db1b1547d732fa762281a09b26394f782176a98c (diff) | |
download | WarpX-fd8a4bc0af84f9b5b074b18554becd92d22cb9e4.tar.gz WarpX-fd8a4bc0af84f9b5b074b18554becd92d22cb9e4.tar.zst WarpX-fd8a4bc0af84f9b5b074b18554becd92d22cb9e4.zip |
make the docs and assertions around the particle shape factors reflect the current behavior of the code. (#1199)
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"); } { |