aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Maxence Thevenet <mthevenet@lbl.gov> 2019-10-01 12:35:46 -0400
committerGravatar Maxence Thevenet <mthevenet@lbl.gov> 2019-10-01 12:35:46 -0400
commiteb3394e3e10f6c538bdef81e488c193b731825c8 (patch)
treefa91dc17b500ce18a847b25eeee8b5deeef8a2bf /Source/Particles/PhysicalParticleContainer.cpp
parent8e14e08dd8bb2dbb1447019ca44ac64db4f01c36 (diff)
downloadWarpX-eb3394e3e10f6c538bdef81e488c193b731825c8.tar.gz
WarpX-eb3394e3e10f6c538bdef81e488c193b731825c8.tar.zst
WarpX-eb3394e3e10f6c538bdef81e488c193b731825c8.zip
fixes so that it runs on GPU (and gives good result even on AMReX development???)
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index 02dee1967..b20feea16 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -42,13 +42,14 @@ PhysicalParticleContainer::PhysicalParticleContainer (AmrCore* amr_core, int isp
pp.query("do_boosted_frame_diags", do_boosted_frame_diags);
pp.query("do_field_ionization", do_field_ionization);
+/*
#ifdef AMREX_USE_GPU
AMREX_ALWAYS_ASSERT_WITH_MESSAGE(
do_field_ionization == 0,
"Field ionization does not work on GPU so far, because the current "
"version of Redistribute in AMReX does not work with runtime parameters");
#endif
-
+*/
pp.query("plot_species", plot_species);
int do_user_plot_vars;
do_user_plot_vars = pp.queryarr("plot_vars", plot_vars);