diff options
author | 2021-07-21 16:58:00 -0700 | |
---|---|---|
committer | 2021-07-21 23:58:00 +0000 | |
commit | a5fe0b4959e3fb5da816790a1fdc8b92384ae81e (patch) | |
tree | a668c984604db53f10932e438d94b934fa6a5ddd /Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H | |
parent | 37120212d1c233a4830e9b600aed26075a9e78c5 (diff) | |
download | WarpX-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/SpectralAlgorithms/PsatdAlgorithm.H')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H index f7cd06edf..1df77f6f3 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H @@ -58,7 +58,9 @@ class PsatdAlgorithm : public SpectralBaseAlgorithm const amrex::Real dt, const bool update_with_rho, const bool time_averaging, - const bool J_linear_in_time); + const bool J_linear_in_time, + const bool dive_cleaning, + const bool divb_cleaning); /** * \brief Updates the E and B fields in spectral space, according to the relevant PSATD equations @@ -165,6 +167,8 @@ class PsatdAlgorithm : public SpectralBaseAlgorithm bool m_update_with_rho; bool m_time_averaging; bool m_J_linear_in_time; + bool m_dive_cleaning; + bool m_divb_cleaning; bool m_is_galilean; }; #endif // WARPX_USE_PSATD |