| d5def619 | 17-Feb-2025 |
Jonas Heinzmann <jheinzmann@ethz.ch> |
SNESLineSearch: fix computation of directional derivative in the case of the VI solvers
The two line search algorithms bisection and critical point work with the directional derivative, assuming tha
SNESLineSearch: fix computation of directional derivative in the case of the VI solvers
The two line search algorithms bisection and critical point work with the directional derivative, assuming that F(x) = grad G(x). However, when working with the variational inequality solvers, the constraints were not correctly considered when computing the directional derivative. This commit introduces a new linesearch->ops->vidirderiv function which correctly considers the constraints (similar to linesearch->ops->viproject and linesearch->ops->vinorm).
show more ...
|