diff options
author | 2018-12-05 11:42:04 -0800 | |
---|---|---|
committer | 2018-12-05 11:42:04 -0800 | |
commit | bf5c0ea097a0a7e7c34a084898ac0cd9810c1b65 (patch) | |
tree | f75dee68457db4ded140aadf37e64f4276c520b6 /Source/WarpXUtil.cpp | |
parent | e4b1ceebfe3bd9bba90365d1c5a03812098c9809 (diff) | |
parent | 0de2e897445be35cc35144699e326df391e06ea4 (diff) | |
download | WarpX-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.cpp | 5 |
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); |