aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2021-07-21 16:58:00 -0700
committerGravatar GitHub <noreply@github.com> 2021-07-21 23:58:00 +0000
commita5fe0b4959e3fb5da816790a1fdc8b92384ae81e (patch)
treea668c984604db53f10932e438d94b934fa6a5ddd /Source/FieldSolver/SpectralSolver/SpectralSolver.cpp
parent37120212d1c233a4830e9b600aed26075a9e78c5 (diff)
downloadWarpX-a5fe0b4959e3fb5da816790a1fdc8b92384ae81e.tar.gz
WarpX-a5fe0b4959e3fb5da816790a1fdc8b92384ae81e.tar.zst
WarpX-a5fe0b4959e3fb5da816790a1fdc8b92384ae81e.zip
Multi-J Algo: Make div(E)/div(B) Cleaning Optional (#2116)
* Multi-J Algo: Make div(E)/div(B) Cleaning Optional * Remove Unnecessary Newlines
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralSolver.cpp')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralSolver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp b/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp
index 29f2b7256..8dd6b2bd9 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp
+++ b/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp
@@ -63,7 +63,8 @@ SpectralSolver::SpectralSolver(
else {
algorithm = std::make_unique<PsatdAlgorithm>(
k_space, dm, m_spectral_index, norder_x, norder_y, norder_z, nodal, fill_guards,
- v_galilean, dt, update_with_rho, fft_do_time_averaging, J_linear_in_time);
+ v_galilean, dt, update_with_rho, fft_do_time_averaging, J_linear_in_time,
+ dive_cleaning, divb_cleaning);
}
}