From f33857a6d4f57011bddc6b99925df4ec015d0720 Mon Sep 17 00:00:00 2001 From: roelof-groenewald Date: Sun, 10 Sep 2023 12:02:19 -0700 Subject: [PATCH] fix typo --- .../FieldSolver/FiniteDifferenceSolver/HybridPICSolveE.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/FieldSolver/FiniteDifferenceSolver/HybridPICSolveE.cpp b/Source/FieldSolver/FiniteDifferenceSolver/HybridPICSolveE.cpp index 82a44e21807..caaadb6ee65 100644 --- a/Source/FieldSolver/FiniteDifferenceSolver/HybridPICSolveE.cpp +++ b/Source/FieldSolver/FiniteDifferenceSolver/HybridPICSolveE.cpp @@ -637,7 +637,7 @@ void FiniteDifferenceSolver::HybridPICSolveECylindrical ( Et(i, j, 0) = (enE_t - grad_Pe) / rho_val; // Add resistivity only if E field value is used to update B - if (include_resistivity_term) Et(i, j, 0) += eta(rho_val) * (Jt(i, j, 0) - Jt_equilib(i, j, 0)); + if (include_resistivity_term) Et(i, j, 0) += eta(rho_val) * (Jt(i, j, 0) - Jt_equilib(i, j, 0)); }, // Ez calculation @@ -661,7 +661,7 @@ void FiniteDifferenceSolver::HybridPICSolveECylindrical ( Ez(i, j, k) = (enE_z - grad_Pe) / rho_val; // Add resistivity only if E field value is used to update B - if (include_resistivity_term) Ez(i, j, k) += eta(rho_val) * (Jz(i, j, k) - - Jz_equilib(i, j, 0)); + if (include_resistivity_term) Ez(i, j, k) += eta(rho_val) * (Jz(i, j, k) - Jz_equilib(i, j, 0)); } ); @@ -922,7 +922,7 @@ void FiniteDifferenceSolver::HybridPICSolveECartesian ( Ez(i, j, k) = (enE_z - grad_Pe) / rho_val; // Add resistivity only if E field value is used to update B - if (include_resistivity_term) Ez(i, j, k) += eta(rho_val) * (Jz(i, j, k) - Jz_equilib(i, j, k)); + if (include_resistivity_term) Ez(i, j, k) += eta(rho_val) * (Jz(i, j, k) - Jz_equilib(i, j, k)); } );