aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceSolver.H
diff options
context:
space:
mode:
authorGravatar Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com> 2023-06-27 00:27:05 -0700
committerGravatar GitHub <noreply@github.com> 2023-06-27 00:27:05 -0700
commit9665008751b9cd7b97fc0e8005c95bc859a50bec (patch)
tree4c82ef57f21c03f655ab4051b71abdea3f4fa79f /Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceSolver.H
parent902c79367dd6b503dcff5706f9ee6153cb7b1319 (diff)
downloadWarpX-9665008751b9cd7b97fc0e8005c95bc859a50bec.tar.gz
WarpX-9665008751b9cd7b97fc0e8005c95bc859a50bec.tar.zst
WarpX-9665008751b9cd7b97fc0e8005c95bc859a50bec.zip
refactored `HybridPICModel::HybridPICSolveE` to more readable (#4044)
Diffstat (limited to 'Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceSolver.H')
-rw-r--r--Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceSolver.H7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceSolver.H b/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceSolver.H
index aec2bd330..7bb23874c 100644
--- a/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceSolver.H
+++ b/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceSolver.H
@@ -145,6 +145,7 @@ class FiniteDifferenceSolver
* \param[in] edge_lengths length of edges along embedded boundaries
* \param[in] lev level number for the calculation
* \param[in] hybrid_pic_model instance of the hybrid-PIC model
+ * \param[in] include_resistivity_term boolean flag for whether to include resistivity
*/
void HybridPICSolveE ( std::array< std::unique_ptr<amrex::MultiFab>, 3>& Efield,
std::array< std::unique_ptr<amrex::MultiFab>, 3>& Jfield,
@@ -154,7 +155,7 @@ class FiniteDifferenceSolver
std::unique_ptr<amrex::MultiFab> const& Pefield,
std::array< std::unique_ptr<amrex::MultiFab>, 3 > const& edge_lengths,
int lev, HybridPICModel const* hybrid_pic_model,
- DtType a_dt_type );
+ const bool include_resistivity_term );
/**
* \brief Calculation of total current using Ampere's law (without
@@ -237,7 +238,7 @@ class FiniteDifferenceSolver
std::unique_ptr<amrex::MultiFab> const& Pefield,
std::array< std::unique_ptr<amrex::MultiFab>, 3 > const& edge_lengths,
int lev, HybridPICModel const* hybrid_pic_model,
- DtType a_dt_type );
+ const bool include_resistivity_term );
template<typename T_Algo>
void CalculateCurrentAmpereCylindrical (
@@ -341,7 +342,7 @@ class FiniteDifferenceSolver
std::unique_ptr<amrex::MultiFab> const& Pefield,
std::array< std::unique_ptr<amrex::MultiFab>, 3 > const& edge_lengths,
int lev, HybridPICModel const* hybrid_pic_model,
- DtType a_dt_type );
+ const bool include_resistivity_term );
template<typename T_Algo>
void CalculateCurrentAmpereCartesian (