diff options
author | 2022-02-03 07:06:03 +0100 | |
---|---|---|
committer | 2022-02-03 06:06:03 +0000 | |
commit | c3c88dfacf1e4fd4fb2148531e20034eed27b836 (patch) | |
tree | e4541c59c5fb68765afe9e7c48cbf7029cdf096e /Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp | |
parent | ec072594fb1bddb4631c55fb3018050cbf461243 (diff) | |
download | WarpX-c3c88dfacf1e4fd4fb2148531e20034eed27b836.tar.gz WarpX-c3c88dfacf1e4fd4fb2148531e20034eed27b836.tar.zst WarpX-c3c88dfacf1e4fd4fb2148531e20034eed27b836.zip |
Fixing the computation of ECT Rho Field (#2711)
* Fixed computation of ECT Rho
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Adding a missing preprocessor directive
* Updated contributors list
* Apply suggestions from code review
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Apply suggestions from code review
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Fixed an abort message
* Fix in Source/Initialization/WarpXInitData.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Added some comments
* Made EvolveRhoCartesianECT not static
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Co-authored-by: lgiacome <lorenzo.giacome@cern.ch>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
Diffstat (limited to 'Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp')
-rw-r--r-- | Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp b/Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp index 318081159..b044f3b70 100644 --- a/Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp +++ b/Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp @@ -76,11 +76,7 @@ void FiniteDifferenceSolver::EvolveE ( } else if (m_fdtd_algo == MaxwellSolverAlgo::Yee || m_fdtd_algo == MaxwellSolverAlgo::ECT) { EvolveECartesian <CartesianYeeAlgorithm> ( Efield, Bfield, Jfield, edge_lengths, Ffield, lev, dt ); -#ifdef AMREX_USE_EB - if (m_fdtd_algo == MaxwellSolverAlgo::ECT) { - EvolveRhoCartesianECT(Efield, edge_lengths, face_areas, ECTRhofield, lev); - } -#endif + } else if (m_fdtd_algo == MaxwellSolverAlgo::CKC) { EvolveECartesian <CartesianCKCAlgorithm> ( Efield, Bfield, Jfield, edge_lengths, Ffield, lev, dt ); |