From fb19d9ae8366423d93f4cecef619aa18ad223f80 Mon Sep 17 00:00:00 2001 From: csendlinger Date: Mon, 13 Jan 2025 10:09:40 +0100 Subject: [PATCH] changes in error output and adjustment comments --- include/simulation/kinematic.h | 3 ++- src/generators/interaction_generator.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/simulation/kinematic.h b/include/simulation/kinematic.h index 91d20e6..2ded5ed 100755 --- a/include/simulation/kinematic.h +++ b/include/simulation/kinematic.h @@ -102,7 +102,8 @@ blitz::TinyVector parallelVector( const blitz::TinyVector& direction); // rotate vector around rotation_axis about the angle angle -// (vectors cartesian) +// (vectors cartesian) according to the right hand rule +// using Rogrigues' formula blitz::TinyVector rotateVector( const blitz::TinyVector& vector, const blitz::TinyVector& rotation_axis, diff --git a/src/generators/interaction_generator.cpp b/src/generators/interaction_generator.cpp index 6b4335a..aa13e32 100755 --- a/src/generators/interaction_generator.cpp +++ b/src/generators/interaction_generator.cpp @@ -204,7 +204,8 @@ void addInteractions( specie->addInteraction(std::shared_ptr( new interaction::ClusterFormationTertiary(cross_section, target, product))); } else { - ERROR(clustering_type + ": no known, choose either 'radiative' or 'tertiary'."); + ERROR("ClusteringType " + clustering_type + + ": not known, choose either 'radiative' or 'tertiary'."); } } else if (type == "ChargeExchange") { DEBUG_LEVEL_2("Adding interactions: ChargeExchange");