We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 641fbf7 commit 9ef99d3Copy full SHA for 9ef99d3
1 file changed
src/physics.cpp
@@ -157,6 +157,8 @@ void sample_neutron_reaction(Particle& p)
157
// exiting neutron
158
const auto& ncrystal_mat = model::materials[p.material()]->ncrystal_mat();
159
if (ncrystal_mat && p.E() < NCRYSTAL_MAX_ENERGY) {
160
+ if (!model::active_point_tallies.empty())
161
+ fatal_error("Next-Event estimator does not support ncrystal materials");
162
ncrystal_mat.scatter(p);
163
} else {
164
scatter(p, i_nuclide);
0 commit comments