aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralSolver.H
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2020-07-06 11:26:41 -0700
committerGravatar GitHub <noreply@github.com> 2020-07-06 11:26:41 -0700
commit345feb7faa0647ec52025adb450c2855154e8111 (patch)
tree10fc5525a86b9aacfef9ef537d0ee363ec505c55 /Source/FieldSolver/SpectralSolver/SpectralSolver.H
parent0a146f12b7a18159561bc74595a3853063216d3c (diff)
downloadWarpX-345feb7faa0647ec52025adb450c2855154e8111.tar.gz
WarpX-345feb7faa0647ec52025adb450c2855154e8111.tar.zst
WarpX-345feb7faa0647ec52025adb450c2855154e8111.zip
PSATD: add option to update E without using rho (#1128)
* Introduce option to update E with/without rho * Clean up * Include equations in docs * Fix EOL whitespaces error * Small clean-up * Clean up
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralSolver.H')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralSolver.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralSolver.H b/Source/FieldSolver/SpectralSolver/SpectralSolver.H
index 6a6410d49..41523d1b4 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralSolver.H
+++ b/Source/FieldSolver/SpectralSolver/SpectralSolver.H
@@ -35,7 +35,8 @@ class SpectralSolver
const amrex::Array<amrex::Real,3>& v_galilean,
const amrex::RealVect dx, const amrex::Real dt,
const bool pml=false,
- const bool periodic_single_box=false );
+ const bool periodic_single_box=false,
+ const bool update_with_rho=false );
/**
* \brief Transform the component `i_comp` of MultiFab `mf`