-
Notifications
You must be signed in to change notification settings - Fork 3
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
Documenting default parameter values? #19
Comments
Hello @corinwagen! Nice that you like it! I intentionally made it a very thin wrapper that only exposes the parameters that you get to set through the normal Fortran interface. The best source that I have to the meaning of the parameters is the manual, as well as the comments in the global module and I didn't explore all the options myself. I unfortunately don't have any time or intention to document this further at the moment. My idea was to keep it as close to DL-FIND and possible and refer to their (sparse) documentation. The file that you are referencing is actually not used when you run DL-FIND, it is rather a test suite that can be used to check whether the program works as intended once you compile it. See this section in the manual:
The parameters are set using a function libdlfind/libdlfind/callback.py Line 109 in 7eae5d4
I think the defaults are set in this subroutine: Line 134 in 7eae5d4
Which additionally calls two other subroutines: Line 1934 in 7eae5d4
Line 1946 in 7eae5d4
Pull request are of course always welcome 😉 |
Haha, point taken! Thanks for pointing me in the right direction; I'll see if I find the time in the next few weeks to document the most common options. |
No pressure 😄 Maybe you can also find some clues in the ChemShell implementation of their DL-FIND Python implementation: |
Closed by #20 |
Hi Kjell, this is really great work—very easy to use!
It would be nice if the default values for various parameters were documented somewhere: it seems like they're set here, but I'm not sure if those can be overridden by default arguments in other places (I don't think I have a great understanding of how DLFIND works underneath the hood, etc).
It seems like this is a lot of work, but maybe just for important parameters like
iopt
,inithessian
,update
, etc?Anyhow, I appreciate this a lot.
The text was updated successfully, but these errors were encountered: