From 6b80320bb77c061b1eefa3a2b3d024c299c2279c Mon Sep 17 00:00:00 2001 From: Chad Mitchell Date: Tue, 17 Dec 2024 09:45:06 -0800 Subject: [PATCH] Add Hminus particle input to app. --- src/initialization/InitDistribution.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/initialization/InitDistribution.cpp b/src/initialization/InitDistribution.cpp index 61cdd77aa..0b0efbed9 100644 --- a/src/initialization/InitDistribution.cpp +++ b/src/initialization/InitDistribution.cpp @@ -236,6 +236,9 @@ namespace impactx } else if (particle_type == "proton") { qe = 1.0; massE = ablastr::constant::SI::m_p / ablastr::constant::SI::MeV_invc2; + } else if (particle_type == "Hminus") { + qe = -1.0; + massE = 939.294308; // value used in TraceWin } else { // default to electron ablastr::warn_manager::WMRecordWarning(