History log of /petsc/src/snes/linesearch/impls/cp/linesearchcp.c (Results 1 – 25 of 169)
Revision Date Author Comments
# 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 ...


# 19620d22 11-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# bb2a876b 11-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'zach/fix-linesearch-behavior' into 'release'

linesearch(cp): Fix bug in step size when step would be outside of domain

See merge request petsc/petsc!8760


# 1ab86304 02-Oct-2025 Zach Atkins <zach.atkins@colorado.edu>

linesearch(cp): Fix bug in step size when step would be outside of domain


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


# 1432289d 29-May-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'release'


# 26f68b99 29-May-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-05-27/docs-sneslinesearch/release' into 'release'

Add Fortran stub for SNESSetObjective() with usage test

See merge request petsc/petsc!7583


# 89dfbbd5 27-May-2024 Barry Smith <bsmith@mcs.anl.gov>

Add to SNESLineSearch docs


# 1bd63e3e 30-Nov-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 50935e0a 30-Nov-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-11-22/fix-some-manualpages/release' into 'release'

Improve SNES manual pages

See merge request petsc/petsc!7049


# 420bcc1b 23-Nov-2023 Barry Smith <bsmith@mcs.anl.gov>

Fix some manual pages focusing on SNES


# b3b04bfa 27-Oct-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/ngmres-objective' into 'main'

Support objective functions in SNESNGMRES

See merge request petsc/petsc!6957


# 6b095a85 23-Oct-2023 Stefano Zampini <stefano.zampini@gmail.com>

SNESLinesearch: align all linesearches to the behaviour of BT

update docs


# 2695622a 16-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/snes' into 'main'

Improve Trust-Region support in SNES

See merge request petsc/petsc!6150


# a42aa960 15-Mar-2023 Stefano Zampini <stefano.zampini@gmail.com>

SNESLINESEARCH: minor fixes


# 31d78bcd 02-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'

Feature: Non-discardable PetscErrorCode

See merge request petsc/petsc!5923


# 3ba16761 10-Dec-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Make PetscErrorCode a non-discardable enum


# 061e922f 22-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-09-21/2-bike-2-shed' into 'main'

Feature: Bicycle Storage Facility 2

See merge request petsc/petsc!5661


# d71ae5a4 21-Sep-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

source code format changes due to .clang-format changes


1234567