Moved printing/dumping stuff from calculate() to apply()
The rationale is to avoid duplicate lines in the COLVAR file when an exchange is attempted in replica exchange. Still, this solution is not totally satisfactory. I think we should add another virtual method (maybe update()) to be used for printing, accumulating statistics, and e.g. for updating HILLS.
Loading
Please sign in to comment