Open zepumph opened 11 months ago
You raise a good question. This code was written a long time ago, so I can't really trust my memories about it, but since I don't recall any reasons to have omitted nextMoleculeTorques
and there is no documentation about it, the most reasonable conclusion is that it was simply an oversight. I tested the patch above with some basic setting of state for the diatomic and water cases (this data would be irrelevant to the single-atom cases), and everything seemed fine, so I have committed it.
I'm going to mark this issue as resolved, but I think we should give it special scrutiny during the next release of this sim from the main branch, so I'll leave it open for that purpose.
While working on https://github.com/phetsims/states-of-matter/issues/365, I saw that this property wasn't being set by PhET-iO state. Is this by design or is it a bug? Not a high priority thing or anything. I can't see problems in this area.