| #
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 ...
|
| #
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 ...
|
| #
732aec7a
|
| 22-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/remove-cast' into 'main'
Use NULL or nullptr instead of casted 0
See merge request petsc/petsc!7857
|
| #
c8025a54
|
| 21-Sep-2024 |
Pierre Jolivet <pierre@joliv.et> |
Use NULL or nullptr instead of casted 0
|
| #
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
|
| #
0062f871
|
| 09-Jun-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-06-05/fix-matcoarsen-view-mis' into 'main'
Fix bug where MatCoarsenView crashes when the coarsen object is incomplete
See merge request petsc/petsc!7612
|
| #
c376f201
|
| 05-Jun-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
minor cleanup of MatCoarsen implementations
|
| #
bfa5bdfc
|
| 05-Jun-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix bug where MatCoarsenView crashes when the coarsen object is incomplete
Reported-by: Eric Chamberland
|
| #
759fb536
|
| 04-Jun-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-06-03/fix-gamg-agg-matcoarsening-view' into 'main'
Fix bug when -pc_type gamg and -ksp_view_pre errors on missing MatCoarsen.
See merge request petsc/petsc!7602
|
| #
0acf423e
|
| 03-Jun-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix bug when -pc_type gamg and -ksp_view_pre errors on missing MatCoaren.
Reported-by: Eric Chamberland
|
| #
4d179fb4
|
| 19-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/add-matmatsolvetranspose_seqaij' into 'main'
MatMatSolveTranspose_SeqAIJ and minor housekeeping
See merge request petsc/petsc!7386
|
| #
dd8e379b
|
| 19-Mar-2024 |
Pierre Jolivet <pierre@joliv.et> |
Docs: fix missing or extra dash in right-hand side
|
| #
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 ...
|
| #
c8629ca8
|
| 17-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/minsurf-local' into 'main'
Improve support for nonlinear domain decomposition solvers
See merge request petsc/petsc!7084
|
| #
de54d9ed
|
| 28-Nov-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
SNESNASM: some fixes
- let subsneses inherit the communicators from the local dms - need to inject boundary values if boundarylocal is present - fix missing convergence error for max_its == 0 - remo
SNESNASM: some fixes
- let subsneses inherit the communicators from the local dms - need to inject boundary values if boundarylocal is present - fix missing convergence error for max_its == 0 - remove PCLU defaults
show more ...
|
| #
0bf52853
|
| 22-Nov-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
DMDASNES: support using user context if operation context is not provided
Add MPI_Allreduce inside the main objective driver
|
| #
49154744
|
| 22-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
d7849d59
|
| 20-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-petsccallmpi' into 'release'
Fix PetscCallMPI(MPI_Allreduce()) with PETSc types
See merge request petsc/petsc!6348
|
| #
712fec58
|
| 19-Apr-2023 |
Pierre Jolivet <pierre@joliv.et> |
Fix PetscCallMPI(MPI_Allreduce()) with PETSc types
|
| #
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
|