aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.H
diff options
context:
space:
mode:
authorGravatar Andrew Myers <atmyers2@gmail.com> 2018-10-04 14:56:50 -0700
committerGravatar GitHub <noreply@github.com> 2018-10-04 14:56:50 -0700
commitf98df173fb6c97d6c1cd13e204ee37f478f6680a (patch)
tree568be5571bb8cd3bdb0b2ec280d975b103730020 /Source/WarpX.H
parent05ce0b2b6ad15a989308bf9705b07562550103c1 (diff)
parent28f765dc6274f3c2b0bb32b7d62eb07f3f930ca9 (diff)
downloadWarpX-f98df173fb6c97d6c1cd13e204ee37f478f6680a.tar.gz
WarpX-f98df173fb6c97d6c1cd13e204ee37f478f6680a.tar.zst
WarpX-f98df173fb6c97d6c1cd13e204ee37f478f6680a.zip
Merge pull request #10 from RemiLehe/charge_buffers
Implement charge buffers
Diffstat (limited to 'Source/WarpX.H')
-rw-r--r--Source/WarpX.H4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WarpX.H b/Source/WarpX.H
index 2fd758159..19b3d74ad 100644
--- a/Source/WarpX.H
+++ b/Source/WarpX.H
@@ -379,8 +379,10 @@ private:
amrex::Vector<std::array<std::unique_ptr<amrex::MultiFab>, 3 > > Bfield_cax;
amrex::Vector<std::unique_ptr<amrex::iMultiFab> > current_buffer_masks;
amrex::Vector<std::unique_ptr<amrex::iMultiFab> > gather_buffer_masks;
- // If current deposition buffers are used
+
+ // If charge/current deposition buffers are used
amrex::Vector<std::array< std::unique_ptr<amrex::MultiFab>, 3 > > current_buf;
+ amrex::Vector<std::unique_ptr<amrex::MultiFab> > charge_buf;
// div E cleaning
int do_dive_cleaning = 0;