diff options
Diffstat (limited to 'Source/WarpXEvolve.cpp')
-rw-r--r-- | Source/WarpXEvolve.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/WarpXEvolve.cpp b/Source/WarpXEvolve.cpp index f22eb0b0f..43740727d 100644 --- a/Source/WarpXEvolve.cpp +++ b/Source/WarpXEvolve.cpp @@ -94,10 +94,12 @@ WarpX::EvolveEM (int numsteps) } is_synchronized = false; } else { - // Beyond one step, we have E^{n} and B^{n}. - // Particles have p^{n-1/2} and x^{n}. - UpdateAuxilaryData(); - } + // Beyond one step, we have E^{n} and B^{n}. + // Particles have p^{n-1/2} and x^{n}. + FillBoundaryE(); + FillBoundaryB(); + UpdateAuxilaryData(); + } // Push particle from x^{n} to x^{n+1} // from p^{n-1/2} to p^{n+1/2} |