aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WarpX.H')
-rw-r--r--Source/WarpX.H10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/WarpX.H b/Source/WarpX.H
index 26c2b78d4..4ee7fe47e 100644
--- a/Source/WarpX.H
+++ b/Source/WarpX.H
@@ -573,6 +573,16 @@ public:
void ApplyFilterandSumBoundaryRho (int lev, int glev, amrex::MultiFab& rho, int icomp, int ncomp);
+#ifdef WARPX_USE_PSATD
+ // Host and device vectors for Fornberg stencil coefficients used for finite-order centering
+ amrex::Vector<amrex::Real> host_centering_stencil_coeffs_x;
+ amrex::Vector<amrex::Real> host_centering_stencil_coeffs_y;
+ amrex::Vector<amrex::Real> host_centering_stencil_coeffs_z;
+ amrex::Gpu::DeviceVector<amrex::Real> device_centering_stencil_coeffs_x;
+ amrex::Gpu::DeviceVector<amrex::Real> device_centering_stencil_coeffs_y;
+ amrex::Gpu::DeviceVector<amrex::Real> device_centering_stencil_coeffs_z;
+#endif
+
protected:
/**