-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Params rework #84
Params rework #84
Conversation
This is a very good upgrade, thanks @smutch! |
Crap! I didn't see all of your comments until after I hit merge! Sorry @qyx268 . I'll revert! |
I was going to say no need to revert. but i saw u did it already. the comments are all minor. just add a header in maybe input.par to instruct how this works. i know you will have it in HOWTO, but it might be worth having it there too. |
I will directly push to develop to address the above comments. Sorry again for missing these! |
np! |
This adds an optional extra layer of parameter files to try and reduce duplication. Parameters are read from the params file given on the command line, a defaults file (applicable to all simulations), and finally a simulation dependent parameters file (if requested). The priority is
where the lowest number wins. i.e if you set a parameter in the command line specified file and the defaults params file then the value from the former is what is used.
Some of the simulations files still need to be updated but wanted to put this out there for comment first.