Open erelson opened 11 years ago
The current approach is that source.h5m
is the hardcoded file that is looked for.
The most practical way to stay within source.F90
is to add a (partial) parser for the r2s.cfg files. This would also be the solution for optional parameters, a la #45. This is probably a task for post-thesis/summer work, though.
You could hack the MCNP command line file reading stuff to optionally provide another filename on the command line. We do it for gcad, lcad, fcad...
I had been approaching this with the goal of keeping the portability of (and ability to quickly swap out) source.F90 files in mind. I will look into it at some point, though.
Need inspiration for the best way to do this in Fortran+MCNP.