History log of /petsc/include/petscsnes.h (Results 1 – 25 of 1096)
Revision Date Author Comments
# 4e8208cb 31-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetC

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetCtx ctx)

See merge request petsc/petsc!8956

show more ...


# 2a8381b2 13-Jan-2026 Barry Smith <bsmith@mcs.anl.gov>

Add automatic generated fortran support for setting and returning contexts

Major cleanup of the code for setting and returning application (previously called user) contexts
- PetscCtx ctx is now t

Add automatic generated fortran support for setting and returning contexts

Major cleanup of the code for setting and returning application (previously called user) contexts
- PetscCtx ctx is now the standard for passing in contexts
- PetscCtxRt ctx is the standard for passing out contexts, including context destroy routines based on PetscCtxDestroyFn

Both of these are typedef to void*

Also removed most use of user and userctx for context arguments now consistently named ctx

Improved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran

show more ...


# 2fc72bdf 09-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'deprecate-snes-enum' into 'main'

Mark SNES_DIVERGED_FNORM_NAN as deprecated.

See merge request petsc/petsc!8949


# 5664c22f 08-Jan-2026 David Wells <drwells@email.unc.edu>

Mark SNES_DIVERGED_FNORM_NAN as deprecated.

I noticed this when recompiling IBAMR today. This was removed in !8914
but it should be deprecated first.


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


# b31b2f82 10-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-10-24/fix-dmshellsetdestroyctx' into 'main'

Finish converting the function prototypes of destroy for contexts to use PetscCtxDestroyFn

See merge request petsc/petsc!8810


# 12651944 28-Oct-2025 Barry Smith <bsmith@mcs.anl.gov>

Change the `destroy()` function argument of `SNESSetConvergenceTest()` to type `PetscCtxDestroyFn *`

Development Tools: Vim, Emacs, Eclipse


# ba013df3 28-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/fix-snes-l2-deprecation' into 'main'

SNES: Deprecate l2 line search as secant

See merge request petsc/petsc!8667


# 392273be 28-Aug-2025 Matthew G. Knepley <knepley@gmail.com>

SNES: Deprecate l2 line search as secant


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


# 85df088b 16-Jun-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/fix-plex-orient-sf' into 'main'

Plex: Fix handling of NULL locals in PlexOrient

See merge request petsc/petsc!8443


# cbf8f02c 05-Jun-2025 Matthew G. Knepley <knepley@gmail.com>

SNES: Make SNESTestJacobian() report the norms


# 1bafe4bb 20-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-05-15/fix-func-typedef-names' into 'main'

All typedef for functions are of the form (XXXXFn)(...) not (*XXXXyyyy)(....)

See merge request petsc/petsc!8408


# 21bb954d 15-May-2025 Barry Smith <bsmith@mcs.anl.gov>

Added missing deprecated macro for some SNESXXXFn


# 6d8694c4 20-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-29/add-fortran-enums' into 'main'

Major updates to Fortran interface

See merge request petsc/petsc!7517


# ce78bad3 20-Feb-2025 Barry Smith <bsmith@petsc.dev>

Fortran 90: fully embrace After 34 years!

- deprecate use of 'F90' in Fortran function names
- use Fortran pointers when appropriate
- the new Fortran API is not backward compatible with previous ve

Fortran 90: fully embrace After 34 years!

- deprecate use of 'F90' in Fortran function names
- use Fortran pointers when appropriate
- the new Fortran API is not backward compatible with previous versions!
- also clean up inconsistent PETSc code detected by new Fortran generation tools
- drop use of bfort
- automatically generate all the Fortran PETSc objects, enums etc from the include files
- generate most of the Fortran interface definitions and functions from the source code
- simplify the number and organization of Fortran modules

Co-authored-by: Jose E. Roman <jroman@dsic.upv.es>

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


# 32be1236 12-Feb-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-vi-example' into 'main'

VI Example

See merge request petsc/petsc!8135


# 2eace19a 09-Feb-2025 Matthew G. Knepley <knepley@gmail.com>

SNES: Initialize local coordinates with grid sequencing, Automate bounds creation
- Add DMPlexSetSNESVariableBounds()
- Set bounds in PetscConvEst
- Added error viewer in PetscConvEst


# 76d69608 19-Jan-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 1d017dde 19-Jan-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-11-26/improve-man-pages/release' into 'release'

Improve some manual pages in KSP/SNES

See merge request petsc/petsc!8071


# 0b4b7b1c 26-Nov-2024 Barry Smith <bsmith@mcs.anl.gov>

Improve some manual pages in KSP/SNES


12345678910>>...44