gibuu is hosted by Hepforge, IPPP Durham
GiBUU

Changes between Version 3 and Version 4 of HowToFortranNMLtools


Ignore:
Timestamp:
Jul 6, 2023, 7:27:06 PM (22 months ago)
Author:
gallmei
Comment:

extend the comment about f90nml

Legend:

Unmodified
Added
Removed
Modified
  • HowToFortranNMLtools

    v3 v4  
    3232
    3333 * `f90nml -g "input" -v "numTimeSteps=42" -g "baryonPotential" -v "EQS_Type=42" --patch in.job out.job` [[BR]] will (correctly) change the value of 'EQS_Type' in the namelist 'baryonPotential', but will also (incorrectly) add the line "numTimeSteps=42" in the same namelist.
     34
     35So you have to run the cli multiple times, if you want to change variables in different namelists of the one and only jobcard. Alternatevily, you can write a short python program, where you define the 'patch' and run this instead.