-
Notifications
You must be signed in to change notification settings - Fork 24
Conversation
Codecov Report
@@ Coverage Diff @@
## master #696 +/- ##
========================================
- Coverage 28.1% 28.1% -0.1%
========================================
Files 133 133
Lines 8677 8678 +1
========================================
- Hits 2442 2441 -1
- Misses 6235 6237 +2
Continue to review full report at Codecov.
|
@votca-bot format |
@votca-bot changelog: add ability to run ibi as a postupd method |
@marvinbernhardt I am a bit confused that this update doesn't break the
Do we need a PR in csg-tutorials as well? If so can you add the |
@votca-bot copyright |
IIE and IBI still do IBI on all bonded interactions by default I belive. Question is if we want to keep that behavior or want the user to explicitly use post_update IBI. I would say it should only be implicit for IBI itself, other methods should use post_update. |
Yeah that makes sense! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge when ready.
And update the tutorials accordingly.
ping @marvinbernhardt |
I want to test it again with the propane system from the csg_tutorials |
@@ -28,10 +28,6 @@ fi | |||
|
|||
sim_prog="$(csg_get_property cg.inverse.program)" | |||
[[ -n $(csg_get_property --allow-empty cg.bonded.name) ]] && has_bonds=true || has_bonds=false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
has_bonded
isn't used anywhere anymore, so remove.
I had to modify a perl script (update_ibi_pot.pl) to get rid of nasty artifacts in my angle potential. Now it looks much better, but the perl code is surely redundant. But I am not sure how to improve it. |
What were the artifacts and what is redundant? |
Artifacts were building up on the right side of angle potentials. There is redundancy in these two for loops. Unfortunately I'm not so good at Perl. csg/share/scripts/inverse/update_ibi_pot.pl Lines 76 to 110 in 7bc89c0
|
I guess you could make it in a function, but don't bother if it is too complicated. |
I think this could be merged now. |
solves #676
In fact, this could also be used to have non-bonded interactions be updated with IBI.
Aditionally I have simplified how one can exclude interactions from imc. Before you had to provide an extra settings.xml file. Now you can just set the interaction.imc.group to 'none' and it will be excluded.
I prepare a csg-tutorial for propane, where this is used to do imc for nb and ibi for bonded.
One thing that is awkward is that this post-update overwrites potential updates from other methods, but I print a warning in that case.
I have not yet changed the iie interface to use this (see line 111 in update_iie.sh) but will do so later, since I work on iie atm anyway.