-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
In my opinion, the code in
colvars/src/colvarcomp_distances.cpp
Lines 1075 to 1082 in 2e87649
| cvm::atom_pos &y = ref_pos[ia]; | |
| for (size_t alpha = 0; alpha < 3; alpha++) { | |
| for (size_t beta = 0; beta < 3; beta++) { | |
| rotation_term += grad_rot_mat[beta][alpha][alpha] * y[beta]; | |
| // Note: equation was derived for inverse rotation (see colvars paper) | |
| // so here the matrix is transposed | |
| // (eq would give divergence += grad_rot_mat[alpha][beta][alpha] * y[beta];) |
Metadata
Metadata
Assignees
Labels
No labels