When atoms migrate from one domain to another, some domains can be
left without constraints assigned to them. In this case, old RMSD
data can contaminate the output and lead to arithmetic exceptions.
Also match conditinal when constraints RMSD values are collected
and when printed.
Fixes #3742, related to #3305.
}
set_lincs_matrix(li, invmass, lambda);
+
+ li->rmsdData[0] = 0.0;
+ li->rmsdData[1] = 0.0;
}
//! Issues a warning when LINCS constraints cannot be satisfied.