Cleanup functions related to rotational velocity, improve sample input files#162
Cleanup functions related to rotational velocity, improve sample input files#162danielhollas merged 4 commits intomasterfrom
Conversation
af5106e to
046f163
Compare
|
@JanosJiri can you take a look? Thanks! Also, if there is anybody else that would perhaps be interesting in reviewing the code, let me know! (especially for simple refactoring like this, it might be nice for somebody to get familiar with the codebase). |
Codecov Report
@@ Coverage Diff @@
## master #162 +/- ##
==========================================
+ Coverage 92.41% 92.42% +0.01%
==========================================
Files 43 43
Lines 6053 6063 +10
Branches 735 734 -1
==========================================
+ Hits 5594 5604 +10
Misses 447 447
Partials 12 12
Flags with carried forward coverage won't be shown. Click here to find out more.
|
JanosJiri
left a comment
There was a problem hiding this comment.
I left just small suggestions/comments. No need to incorporate them.
| &nhcopt | ||
| temp=298.15, ! temperature [K] for Maxwell-Boltzmann sampling and thermostat | ||
| inose=1, ! Thermostating: Nose-Hoover 1, microcanonical 0,GLE 2 | ||
| nchain=4, ! number of nose-hoover chains |
There was a problem hiding this comment.
Just a comment: there are lots of deleted options. It might t be useful to have some brief manual for them. :)
There was a problem hiding this comment.
Yeah, I've deleted a bunch of options that the user should not generally touch, since these sample inputs are generally meant for first time users.
Note that ABIN's manual is currently available on Overleaf, but I haven't updated it in a long while. Some of these options are documented there though. Perhaps that is something we could work together when you are in Bristol. :-)
Currently, there is no one working on ABIN modifications but I will ask. |
Cleaning up the
remove_rotationsfunctions, that we call at the beginning of the simulations to remove rotational velocity.Confusingly, we've also used the same function to print angular momentum along the MD simulations.
In this PR I decoupled the code to smaller functions to make this all less confusing.
Also tried to cleanup the sample input files to make them (hopefully) a little more accessible for first time users.
But MUCH more needs to be done in this area.