-
Notifications
You must be signed in to change notification settings - Fork 571
Description
Bug Description
Initially, when reading the documentation, the implementation of bins placement in MeshMaterialFilter is not very clear.
If you look at the example made by @shimwell on the topic of R2S dose rate calculation, you can see mat_iron.id = 1
. However, if you change it to another number, for example, more than 6, the bins parameter will be a strange set of values that have nothing to do with the original IDs of the materials.
Because of this, when trying to calculate neutron transport with get_microxs_and_flux
method and using the MeshMaterialFilter as domain, the error "Could not find material X specified on tally filter." occurs. The material number indicated in the message has nothing to do with the actual number of materials existing in the model.
It seems to me that the problem of interpreting the number of material id at the C++ code.
Environment
Version | 0.15.3-dev86
Commit Hash | a64cc96
Date/Time | 2025-08-04 12:55:20
MPI Processes | 1
OpenMP Threads | 32
Nuclear library: ENDFB8.0-hdf5