Skip to content

Refactor force_consistent in optimizers

Ask Hjorth Larsen requested to merge refactor-force-consistent into master

Checklist

Add a temporary helper to OptimizableAtoms to check whether it should use force_consistent.

Remove all the highly redundant handling of this variable from the many optimizers and deprecate the parameter as an input to optimizers.

This may slightly affect the results of optimizations since the boolean may be chosen differently depending on calculator or optimizer.

Edited by Ask Hjorth Larsen

Merge request reports