Skip to content

Fix energy minimization segfault when enforced rotation is active

Carsten requested to merge CKu-enable-rotation-with-EM into release-2023

By passing the correct pointer to the enforced rotation data in all calls of do_force() (instead of a nullptr in certain locations), now one can also do energy minimization when enforced rotation is active. This may make sense with rotation rates of 0, thus keeping the rotation about an axis as is.

Fixes #4865 (closed)

Edited by Andrey Alekseenko

Merge request reports