History log of /petsc/src/snes/linesearch/impls/bisection/linesearchbisection.c (Results 1 – 10 of 10)
Revision Date Author Comments
# 756fffe1 26-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'fix-SNESLineSearchBisection-maxit' into 'main'

fix SNESLineSearchBisection wrongfully exiting when reaching maximum number of iterations

See merge request petsc/petsc!8880


# 1e1ea152 03-Dec-2025 Jonas Heinzmann <jheinzmann@ethz.ch>

fix SNESLineSearchBisection wrongfully exiting when reaching maximum number of iterations


# bd89dbf2 07-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-12-24/improve-snes-domain-error-handling' into 'main'

Improve the propagation of function domain error handling in SNES, especially...

See merge request petsc/petsc!8914


# 76c63389 24-Dec-2025 Barry Smith <bsmith@mcs.anl.gov>

Improve the propagation of function domain error handling in SNES, especially in the line search routines.

Due to the object layering of SNESLineSearch under SNES there is some code duplication incl

Improve the propagation of function domain error handling in SNES, especially in the line search routines.

Due to the object layering of SNESLineSearch under SNES there is some code duplication include both SNESLineSearchReason and SNESConvergedReason and SNESCheckFunctionNorm() and SNESLineSearchCheckFunctionNorm() and Jacobian friends

Reported-by: david.knezevic@akselos.com

show more ...


# e0f7661e 27-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'sneslinesearch-improvements' into 'main'

SNESLinesearch: Minor improvements

See merge request petsc/petsc!8630


# a99ef635 27-Aug-2025 Jonas Heinzmann <jheinzmann@ethz.ch>

SNESLinesearch: Minor improvements

- add missing configuration options in the documentation of the line searches (some of the available options were not listed), and consistently list their respecti

SNESLinesearch: Minor improvements

- add missing configuration options in the documentation of the line searches (some of the available options were not listed), and consistently list their respective default values

- add proper convergence criteria for the secant method in the L2 line search based on ltol and atol (otherwise, the secant method is mostly running for the maximum number of iterations)

- fix a small bug in the CP line search, where steptol * lambda was used to check for convergence based on the change of lambda instead of the ltol parameter

- rename sneslinesearch->maxstep to sneslinesearch->maxlambda in the options database to be consistent with its purpose in the algorithms

- rename SNESLineSearchL2 to SNESLineSearchSecant to better represent its underlying approach

show more ...


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


# 0b3826d4 04-Dec-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jonas-heinzmann/sneslinesearch-addbisection' into 'main'

SNESLineSearch: add bisection line search

See merge request petsc/petsc!8028


# b9d635d7 23-Nov-2024 Jonas Heinzmann <jheinzmann@ethz.ch>

SNESLineSearch: add bisection line search

Add new bisection line search for SNES, which proves to be useful for highly non-linear problems. The line search assumes that F(X) = grad G(X) and seeks to

SNESLineSearch: add bisection line search

Add new bisection line search for SNES, which proves to be useful for highly non-linear problems. The line search assumes that F(X) = grad G(X) and seeks to find the root in the directional derivative through bisection.
(tested in snes/tutorials/ex99)

show more ...