changes in error output and adjustment comments
This commit is contained in:
@@ -102,7 +102,8 @@ blitz::TinyVector<double, 3> parallelVector(
|
|||||||
const blitz::TinyVector<double, 3>& direction);
|
const blitz::TinyVector<double, 3>& direction);
|
||||||
|
|
||||||
// rotate vector around rotation_axis about the angle angle
|
// rotate vector around rotation_axis about the angle angle
|
||||||
// (vectors cartesian)
|
// (vectors cartesian) according to the right hand rule
|
||||||
|
// using Rogrigues' formula
|
||||||
blitz::TinyVector<double, 3> rotateVector(
|
blitz::TinyVector<double, 3> rotateVector(
|
||||||
const blitz::TinyVector<double, 3>& vector,
|
const blitz::TinyVector<double, 3>& vector,
|
||||||
const blitz::TinyVector<double, 3>& rotation_axis,
|
const blitz::TinyVector<double, 3>& rotation_axis,
|
||||||
|
|||||||
@@ -204,7 +204,8 @@ void addInteractions(
|
|||||||
specie->addInteraction(std::shared_ptr<interaction::Interaction>(
|
specie->addInteraction(std::shared_ptr<interaction::Interaction>(
|
||||||
new interaction::ClusterFormationTertiary(cross_section, target, product)));
|
new interaction::ClusterFormationTertiary(cross_section, target, product)));
|
||||||
} else {
|
} 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") {
|
} else if (type == "ChargeExchange") {
|
||||||
DEBUG_LEVEL_2("Adding interactions: ChargeExchange");
|
DEBUG_LEVEL_2("Adding interactions: ChargeExchange");
|
||||||
|
|||||||
Reference in New Issue
Block a user