Skip to content

Commit

Permalink
Add Hminus particle input to app.
Browse files Browse the repository at this point in the history
  • Loading branch information
cemitch99 committed Dec 17, 2024
1 parent daf1519 commit 6b80320
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/initialization/InitDistribution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6b80320

Please sign in to comment.