IAP GITLAB

Skip to content
Snippets Groups Projects
Commit a152a56a authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

set At also for meson projectile to avoid NaN

parent 0f567a23
No related branches found
No related tags found
1 merge request!100Resolve "Low energy hadronic interactions: UrQMD interface"
...@@ -92,9 +92,8 @@ corsika::process::EProcessReturn UrQMD::DoInteraction(SetupProjectile& projectil ...@@ -92,9 +92,8 @@ corsika::process::EProcessReturn UrQMD::DoInteraction(SetupProjectile& projectil
cascinit_(sys_.Zp, sys_.Ap, id); cascinit_(sys_.Zp, sys_.Ap, id);
} else { } else {
inputs_.prspflg = 1; inputs_.prspflg = 1;
int const Ap = sys_.Ap = 1; // even for non-baryons this has to be set, see vanilla UrQMD.f
1; // what value to use here for non-baryons??? see CONEX UrQMD interface rsys_.bdist = nucrad_(sys_.Ap) + nucrad_(Atarget) + 2 * options_.CTParam[30 - 1];
rsys_.bdist = nucrad_(Ap) + nucrad_(Atarget) + 2 * options_.CTParam[30 - 1];
auto const [ityp, iso3] = ConvertToUrQMD(projectileCode); auto const [ityp, iso3] = ConvertToUrQMD(projectileCode);
// todo: conversion of K_long/short into strong eigenstates; // todo: conversion of K_long/short into strong eigenstates;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment