Write and read more than one surface source files
Description
This is an issue we have discussed with @pshriwise and @NybergWISC.
Currently OpenMC has the capability to write a surface source file in the last batch. This has the disadvantage that in the case of very expensive simulations, having only one surface source file from the last batch can be seen as not taking full advantage of the entire simulation. In the case that one wants to obtain more information, there is no other option than to simulate more particles per batch, and this can make the simulation nonviable or even complicate the handling of the files.
Therefore, a possible solution to increase the amount of information that can be obtained from a simulation is:
- Incorporate the capability for OpenMC to write a surface source file on the last N active batches chosen by the user.
- This has the direct consequence of incorporating the capability to receive more than one surface source file for further sampling.
Alternatives
Leave it as it is now. Or choose only one of the proposals of the previous items.
Compatibility
The default values can be the same as they are now.