Version 1 (modified by 3 years ago) (diff) | ,
---|
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: