Minor changes in debug output, added information

to error messages
This commit is contained in:
2024-03-15 15:49:40 +01:00
parent 55c51f8434
commit 2fccef7132
19 changed files with 41 additions and 32 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ Excitation::Excitation(std::function<double(double)> cross_section,
: Interaction(cross_section, target),
excitation_energy_eV_(excitation_energy_eV) {
ASSERT_POSITIVE(&excitation_energy_eV_,
"The exitationenergy must be positive.");
"The exitation energy must be positive.");
}
InteractionOutput Excitation::performInteraction(particle::Particle& particle,