aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXAlgorithmSelection.H
diff options
context:
space:
mode:
authorGravatar Dave <grote1@llnl.gov> 2019-08-30 16:57:51 -0700
committerGravatar GitHub <noreply@github.com> 2019-08-30 16:57:51 -0700
commitdaeebcf054e98b0e719d21c1df2b98238b1d481c (patch)
tree25abd08dfea4187ef3f7db2ca69dffdfba304478 /Source/Utils/WarpXAlgorithmSelection.H
parenta7105f2e97c79de807e1ff57a2f7d9df6d471cb8 (diff)
parentbea299f615af06c4e35022070e5bf1aa054f6a44 (diff)
downloadWarpX-daeebcf054e98b0e719d21c1df2b98238b1d481c.tar.gz
WarpX-daeebcf054e98b0e719d21c1df2b98238b1d481c.tar.zst
WarpX-daeebcf054e98b0e719d21c1df2b98238b1d481c.zip
Merge pull request #285 from ECP-WarpX/picsar_cleanup
Cleanup picsar references, algorithm choices, and unused fortran references
Diffstat (limited to 'Source/Utils/WarpXAlgorithmSelection.H')
-rw-r--r--Source/Utils/WarpXAlgorithmSelection.H18
1 files changed, 4 insertions, 14 deletions
diff --git a/Source/Utils/WarpXAlgorithmSelection.H b/Source/Utils/WarpXAlgorithmSelection.H
index 6a32513b7..54c721abf 100644
--- a/Source/Utils/WarpXAlgorithmSelection.H
+++ b/Source/Utils/WarpXAlgorithmSelection.H
@@ -5,8 +5,6 @@
#include <string>
struct MaxwellSolverAlgo {
- // These numbers corresponds to the algorithm code in WarpX's
- // `warpx_push_bvec` and `warpx_push_evec_f`
enum {
Yee = 0,
CKC = 1
@@ -14,8 +12,6 @@ struct MaxwellSolverAlgo {
};
struct ParticlePusherAlgo {
- // These numbers correspond to the algorithm code in WarpX's
- // `warpx_particle_pusher`
enum {
Boris = 0,
Vay = 1
@@ -24,12 +20,8 @@ struct ParticlePusherAlgo {
struct CurrentDepositionAlgo {
enum {
- // These numbers corresponds to the algorithm code in PICSAR's
- // `depose_jxjyjz_generic` and `depose_jxjyjz_generic_2d`
- Direct = 3,
- DirectVectorized = 2,
- EsirkepovNonOptimized = 1,
- Esirkepov = 0
+ Esirkepov = 0,
+ Direct = 1
};
};
@@ -41,11 +33,9 @@ struct ChargeDepositionAlgo {
};
struct GatheringAlgo {
- // These numbers corresponds to the algorithm code in PICSAR's
- // `geteb3d_energy_conserving_generic` function
+ // Only the Standard algorithm is implemented
enum {
- Vectorized = 0,
- Standard = 1
+ Standard = 0
};
};