History log of /petsc/src/snes/tutorials/output/ex58_4.out (Results 1 – 2 of 2)
Revision Date Author Comments
# c59835d0 17-Feb-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jonas-heinzmann/fix-sneslinesearch-vi-directionalderivative' into 'main'

SNESLineSearch: fix computation of directional derivative in the case of the VI solvers

See merge request pets

Merge branch 'jonas-heinzmann/fix-sneslinesearch-vi-directionalderivative' into 'main'

SNESLineSearch: fix computation of directional derivative in the case of the VI solvers

See merge request petsc/petsc!8137

show more ...


# 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 ...