Allow to change extrapolation function for lammps#203
Conversation
jdmoore2004
left a comment
There was a problem hiding this comment.
Looks good to me. I haven't tested it, because I wasn't sure how to download the fork, but I will look into it tomorrow. This is a nice option to have.
|
You can do |
|
I'm not sure if I checked it out wrong, but I think I have the correct files. I am getting ############################################################################################################################### ERROR:Unknown option '--lfct=sasha'For details see the logfile /home/XXXX/inverse.log############################################################################################################################### Setting Thanks. |
|
Got it! Shell option parsing only works for |
|
Line 61 of potential_extrapolate.sh has an extra $ Change is_part "${$2}" "${fct_types}" || die "${0##*/}: given function type ( to Seems to work great otherwise. Tested it on bonds for linear, quadratic, exponential and sasha left and right. |
|
Typo fixed! |
See: https://groups.google.com/d/msg/votca/FQlDlaWXsaA/_o1apQHxDwAJ