Skip to content

Commit

Permalink
Fix the cross section calculator for the chips model
Browse files Browse the repository at this point in the history
  • Loading branch information
whokion committed Feb 26, 2024
1 parent bfce3e5 commit 1bcb597
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/celeritas/phys/PhysicsTrackView.hh
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,8 @@ CELER_FUNCTION real_type PhysicsTrackView::calc_xs(ParticleProcessId ppid,
}
else if (model_id == params_.hardwired.chips)
{
auto calc_xs = EPlusGGMacroXsCalculator(
params_.hardwired.eplusgg_data, material);
auto calc_xs = NeutronElasticMacroXsCalculator(
params_.hardwired.chips_data, material);
result = calc_xs(energy);
}
}
Expand Down

0 comments on commit 1bcb597

Please sign in to comment.