aboutsummaryrefslogtreecommitdiff
path: root/Source/Initialization/PlasmaInjector.cpp
diff options
context:
space:
mode:
authorGravatar Cameron Yang <cameronyang@lbl.gov> 2019-11-12 14:51:15 -0800
committerGravatar Cameron Yang <cameronyang@lbl.gov> 2019-11-12 14:51:15 -0800
commit71df8558fc2a8af69de6a3c468f213b0ce2c2aa2 (patch)
tree65488a801d2ad916cc3518887f43266cc5295ea2 /Source/Initialization/PlasmaInjector.cpp
parentf5fc6bd0154cc9253f743eb59e980d5126fb523a (diff)
downloadWarpX-71df8558fc2a8af69de6a3c468f213b0ce2c2aa2.tar.gz
WarpX-71df8558fc2a8af69de6a3c468f213b0ce2c2aa2.tar.zst
WarpX-71df8558fc2a8af69de6a3c468f213b0ce2c2aa2.zip
Second implimentation and basic comments.
Diffstat (limited to 'Source/Initialization/PlasmaInjector.cpp')
-rw-r--r--Source/Initialization/PlasmaInjector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Initialization/PlasmaInjector.cpp b/Source/Initialization/PlasmaInjector.cpp
index 29d6b47d1..300c41f7b 100644
--- a/Source/Initialization/PlasmaInjector.cpp
+++ b/Source/Initialization/PlasmaInjector.cpp
@@ -312,7 +312,7 @@ void PlasmaInjector::parseMomentum (ParmParse& pp)
amrex::Abort(direction.c_str());
}
// Construct InjectorMomentum with InjectorMomentumJuttner.
- inj_mom.reset(new InjectorMomentum((InjectorMomentumBoltzmann*)nullptr, theta, beta, dir));
+ inj_mom.reset(new InjectorMomentum((InjectorMomentumJuttner*)nullptr, theta, beta, dir));
} else if (mom_dist_s == "radial_expansion") {
Real u_over_r = 0.;
pp.query("u_over_r", u_over_r);