Tools to work with Fortran Namelists and Jobcards
sed
If you want to change GiBUU input jobcards via a (bash) script, one way is to store the skeleton as a template, where the variables you want to change are given by placeholders like XXX. YYY etc.
Then you may use sed
to replace the placeholder by the actual value, e.g. "sed s/XXX/myValue/"
f90nml, nmltab
Recently (april 2022) I became aware of two projects at GitHub, which are capable of reading in, changing, fine printing, comparing etc. of Fortran jobcards/namelists, written in Python:
Last modified 14 months ago
Last modified on Apr 15, 2022, 6:58:04 PM