| #
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 ...
|
| #
941063a0
|
| 16-Oct-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
d56401d0
|
| 12-Oct-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/ts-snes-fixes' into 'release'
Miscellaneous fixes for TS and SNES with domain errors
See merge request petsc/petsc!8770
|
| #
b2ccae6b
|
| 30-Sep-2025 |
Stefano Zampini <stefano.zampini@gmail.com> |
SNESVI: vec_sol may not be available at setup time
|
| #
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
|
| #
b6f515db
|
| 12-Feb-2025 |
Matthew G. Knepley <knepley@gmail.com> |
SNESVI: Fix monitoring of the residual and active set - Can now give viewer-style arguments to the monitor
|
| #
d0e6bf2a
|
| 25-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-19' into 'main'
clang-format-19
See merge request petsc/petsc!7644
|
| #
0d5ef98a
|
| 18-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
CI: update checkclangformat to use clang-format-19.1.0
|
| #
d8e47b63
|
| 17-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'
Compiler finds (and forbid) casts from higher precision integers to lower
See merge request petsc/petsc!7806
|
| #
462c564d
|
| 14-Sep-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix MPIU_* routines to always return MPI error codes and thus be usable with PetscCallMPI()
Introduce MPIU_Count to be used when MPI_Count is not available
|
| #
f15dbde4
|
| 09-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-single-quote' into 'main'
Docs: fix wrong single quote
See merge request petsc/petsc!7348
|
| #
2913281c
|
| 09-Mar-2024 |
Pierre Jolivet <pierre@joliv.et> |
Docs: fix wrong single quote
|
| #
970231d2
|
| 07-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-18' into 'main'
clang-format version 18
See merge request petsc/petsc!6902
|
| #
f4f49eea
|
| 11-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g' git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g' git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'
show more ...
|
| #
c7fbd2bd
|
| 02-Feb-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-01-19/typedef-snes-functions' into 'main'
add typedef for functions passed to SNESSetFunction() etc to match approach in TS
See merge request petsc/petsc!7206
|
| #
8434afd1
|
| 02-Feb-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Change the use of the _Fn suffix to indicate a typedef of a function to just Fn
As determined on a vote on GitLab
|
| #
9bcc50f1
|
| 20-Jan-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
add typedef for functions passed to SNESSetFunction() etc to match approach in TS
I never liked Jed's use of typedef for function prototypes for a couple of reasons
1) you don't see immediately tha
add typedef for functions passed to SNESSetFunction() etc to match approach in TS
I never liked Jed's use of typedef for function prototypes for a couple of reasons
1) you don't see immediately that the argument to the function is a function pointer instead of standard variable when looking at source 2) you don't see at the exact location in the code the prototype of the function being passed in
but there is something to say for using these typedefs so
I've prototyped the change for SNES but slightly differently than what Jed did for TS
1) I append the typedef with _Ftn to mark that it is a function (helping to relieve the problem 1 above) 2) I made the typedef to be for a function, not a function pointer so it can also be used directly for things like
PETSC_EXTERN SNESJacobian_Ftn SNESComputeJacobianDefault;
I think the TS usage could be switched to this style without user code breakage, and deprecate the current TS typedef
Thoughts?
Just do SNES the same way as TS and live with less clarity?
show more ...
|
| #
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
|