aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.cpp
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2019-07-18 08:46:52 -0700
committerGravatar Dave Grote <grote1@llnl.gov> 2019-07-18 08:46:52 -0700
commit70714d9712cb0c4e5f2bc842fb1fc6defb5d76cf (patch)
tree227665c2c424f767b9bffd3e3a12df94beefe054 /Source/WarpX.cpp
parentfb00db2dd82e1b894cfdcc2091a255477a7572df (diff)
downloadWarpX-70714d9712cb0c4e5f2bc842fb1fc6defb5d76cf.tar.gz
WarpX-70714d9712cb0c4e5f2bc842fb1fc6defb5d76cf.tar.zst
WarpX-70714d9712cb0c4e5f2bc842fb1fc6defb5d76cf.zip
Initial conversion of Esirkepov deposition to c++
Diffstat (limited to '')
-rw-r--r--Source/WarpX.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp
index 08948227c..18d76c07e 100644
--- a/Source/WarpX.cpp
+++ b/Source/WarpX.cpp
@@ -492,10 +492,6 @@ WarpX::ReadParameters ()
pp.query("use_picsar_deposition", use_picsar_deposition);
#endif
current_deposition_algo = GetAlgorithmInteger(pp, "current_deposition");
- if (!use_picsar_deposition){
- AMREX_ALWAYS_ASSERT_WITH_MESSAGE( current_deposition_algo >= 2,
- "if not use_picsar_deposition, cannot use Esirkepov deposition.");
- }
charge_deposition_algo = GetAlgorithmInteger(pp, "charge_deposition");
field_gathering_algo = GetAlgorithmInteger(pp, "field_gathering");
particle_pusher_algo = GetAlgorithmInteger(pp, "particle_pusher");