Commit ec89df1
fix: fix the calculation of bias factor with off-grid hills
When the hill to be deposited is off-grid, we cannot obtain the energy
from the grid as that would be an out-of-bound memory access. This
commit sums all off-grid hills to get the bias energy to compute the
bias factor for WT.1 parent 8cc2ec1 commit ec89df1
1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
567 | | - | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
568 | 588 | | |
569 | 589 | | |
570 | 590 | | |
| |||
0 commit comments