I suggest to move the line
SimPtr->setMCNPversion(IParam.getValue<int>("mcnp"));
from mainSystem::createSimulation into the main function after calling mainSystem::setDefUnits since otherwise the MCNP version can't be set in that method.
I need it since in the ButterflyEngineering branch I would like to call A.setOption("mcnp", "10") if the geometry is being generated with -defaultConfig neutronics arguments.
I suggest to move the line
SimPtr->setMCNPversion(IParam.getValue<int>("mcnp"));
frommainSystem::createSimulation
into themain
function after callingmainSystem::setDefUnits
since otherwise the MCNP version can't be set in that method.I need it since in the ButterflyEngineering branch I would like to call
A.setOption("mcnp", "10")
if the geometry is being generated with-defaultConfig neutronics
arguments.