| #
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 ...
|
| #
bcda9346
|
| 27-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MarDiehl/fix-typo' into 'main'
missing "s" for isascii and issundials
See merge request petsc/petsc!8559
|
| #
9f196a02
|
| 17-Jul-2025 |
Martin Diehl <mail@martin-diehl.net> |
missing "s" for isascii and issundials
|
| #
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 ...
|
| #
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 ...
|
| #
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
|
| #
ec42381f
|
| 20-Jul-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-06-15/deprecate-petsc-current' into 'main'
Deprecate the use of PETSC_DEFAULT with PETSC_CURRENT since PETSC_DEFAULT is a...
See merge request petsc/petsc!7634
|
| #
77e5a1f9
|
| 16-Jun-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Update SNESSetTolerances() to accept PETSC_DETERMINE an PETSC_DECIDE
|
| #
fda22ce0
|
| 08-Jul-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-07-01/fix-petscoptionsgetviewer' into 'main'
The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model
See merge request petsc/petsc!7667
|
| #
648c30bc
|
| 08-Jul-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model
Hence the code needs to be refactored
Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VI
The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model
Hence the code needs to be refactored
Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VIEWER_XXXX_() routines
Reported-by: James Wright Thanks-to: Jeremy L Thompson
show more ...
|
| #
613ce9fe
|
| 17-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
08c30c10
|
| 17-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-12-04/fix-manpage-references/release' into 'release'
Update references in the manual pages to use Sphinx citation processing
See merge request petsc/petsc!7101
|
| #
1d27aa22
|
| 04-Dec-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Update references in the manual pages to use Sphinx citation processing
|
| #
e6053022
|
| 02-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-11-21/fix-thread-safety-petscoptionsgetviewer' into 'main'
Fix PetscOptionsGetViewer() so it works in a thread-safe way
See merge request petsc/petsc!7047
|
| #
cd791dc2
|
| 21-Nov-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix PetscOptionsGetViewer() so it works in a thread-safe way
When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared by all threads that call PetscOptio
Fix PetscOptionsGetViewer() so it works in a thread-safe way
When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared by all threads that call PetscOptionsGetViewer(). In the previous code PetscObjectReference() and dereference (via PetscViewerDestroy() where called on the viewer by multiple threads after the viewer was accessed thus corrupting the object.
This branch introduces a PetscOptionsRestoreViewer() that allows not doing the referencing and dereferencing on persistant viewers, thus removing the specific race condition above.
Other possible solutions include
Use a lock on each PetscObjectReference/Dereference() just in case they are shared. Could be time consuming so one could mark each object as either threadshared or independent and only do the locks on threadshared objects. This lowers the cost but would require more extensive changes to PETSc infrastructure. And I do not know if this shared/not shared model is what we need in the long run, though it might be.
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
|
| #
9c5460f9
|
| 17-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-09/linter-detect-static-function-candidates' into 'main'
Linter detect possible static functions
See merge request petsc/petsc!6796
|
| #
66976f2f
|
| 14-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Add static to internal functions
|