aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.H
diff options
context:
space:
mode:
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;