aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpXUtil.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2018-12-05 11:42:04 -0800
committerGravatar GitHub <noreply@github.com> 2018-12-05 11:42:04 -0800
commitbf5c0ea097a0a7e7c34a084898ac0cd9810c1b65 (patch)
treef75dee68457db4ded140aadf37e64f4276c520b6 /Source/WarpXUtil.cpp
parente4b1ceebfe3bd9bba90365d1c5a03812098c9809 (diff)
parent0de2e897445be35cc35144699e326df391e06ea4 (diff)
downloadWarpX-bf5c0ea097a0a7e7c34a084898ac0cd9810c1b65.tar.gz
WarpX-bf5c0ea097a0a7e7c34a084898ac0cd9810c1b65.tar.zst
WarpX-bf5c0ea097a0a7e7c34a084898ac0cd9810c1b65.zip
Merge pull request #35 from burlen/sensei_init_ghost_cells
Sensei init ghost cells
Diffstat (limited to 'Source/WarpXUtil.cpp')
-rw-r--r--Source/WarpXUtil.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/WarpXUtil.cpp b/Source/WarpXUtil.cpp
index eb0eec92b..4a884330a 100644
--- a/Source/WarpXUtil.cpp
+++ b/Source/WarpXUtil.cpp
@@ -38,9 +38,8 @@ void ReadBoostedFrameParameters(Real& gamma_boost, Real& beta_boost,
void ConvertLabParamsToBoost()
{
-
- Real gamma_boost, beta_boost;
- int max_level;
+ Real gamma_boost = 1., beta_boost = 0.;
+ int max_level = 0;
Vector<int> boost_direction {0,0,0};
ReadBoostedFrameParameters(gamma_boost, beta_boost, boost_direction);