aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/WarpXPushFieldsEM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/FieldSolver/WarpXPushFieldsEM.cpp')
-rw-r--r--Source/FieldSolver/WarpXPushFieldsEM.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/FieldSolver/WarpXPushFieldsEM.cpp b/Source/FieldSolver/WarpXPushFieldsEM.cpp
index 475f7a1dd..098e8f189 100644
--- a/Source/FieldSolver/WarpXPushFieldsEM.cpp
+++ b/Source/FieldSolver/WarpXPushFieldsEM.cpp
@@ -65,6 +65,11 @@ WarpX::PushPSATD (amrex::Real a_dt)
} else {
PushPSATD_localFFT(lev, a_dt);
}
+
+ // Evolve the fields in the PML boxes
+ if (do_pml && pml[lev]->ok()) {
+ pml[lev]->PushPSATD();
+ }
}
}