| #
9d47de49
|
| 18-Feb-2026 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2026-02-14/fix-defined-missing-braces' into 'main'
Fix the inconsistent usage of #if defined XXX compared to defined(XXX)
See merge request petsc/petsc!9040
|
| #
beceaeb6
|
| 15-Feb-2026 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix the inconsistent usage of #if [!]defined XXX compared to defined(XXX)
Thanks-to: Pierre Jolivet
An LLM Claude detected the incosnsitency it was not used to remove the inconsistency
|
| #
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 ...
|
| #
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
|
| #
390474f9
|
| 09-Nov-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
8ce174df
|
| 07-Nov-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jose/release/doc-fixes' into 'release'
doc: minor fixes
See merge request petsc/petsc!8830
|
| #
41aebf3e
|
| 06-Nov-2025 |
Jose E. Roman <jroman@dsic.upv.es> |
doc: minor fixes
|
| #
e6aa7a3b
|
| 24-Oct-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
The goal of all the commits in this MR is to unify the destruction of "application" contexts.
This will help with supporting language bindings. For example, for Fortran the application context would
The goal of all the commits in this MR is to unify the destruction of "application" contexts.
This will help with supporting language bindings. For example, for Fortran the application context would be a user derived type
Fix prototype of DMShellSetDestroyCtx function argument to use PETSc standard way of doing it with PetscCtxDestroyF.
Also fix PetscViewerGLVisSetFields prototype of destroy function
These two locations were missed when PetscCtxDestroyFn was introduced as the universal function prototype for context destruction in 3.23
Reported-by: Victor Eijkhout
show more ...
|
| #
a28344a5
|
| 13-Oct-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'dalcinl/cxx-demangle' into 'main'
Reimplement PetscDemangleSymbol() in C using dynamic loading
See merge request petsc/petsc!8765
|
| #
dab73fe7
|
| 09-Oct-2025 |
Lisandro Dalcin <dalcinl@gmail.com> |
Reimplement PetscDemangleSymbol() in C using dynamic loading
|
| #
e1998897
|
| 29-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-09-28/fix-petscerrorcodefn-cxx' into 'main'
Fix the definition of PetscErrorCodeFn; this reverts API change in !8615
See merge request petsc/petsc!8745
|
| #
453a69bb
|
| 29-Sep-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix the definition of PetscErrorCodeFn; this reverts API change in !8615
Co-authored-by: Pierre Jolivet <pierre@joliv.et> Reported-by: Lisandro Dalcin <dalcinl@gmail.com>
|
| #
2286efdd
|
| 25-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-07-30/fix-matshellsetoperationarg' into 'main'
Complete usage of PetscVoidFn and PetscErrorCodeFn and introduce PetscFortranCallbackFn
See merge request petsc/petsc!8615
|
| #
57d50842
|
| 31-Jul-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Change use of void (*)(void) and void (**)(void) in the PETSc API to PetscVoidFn * and PetscVoidFn ** or PetscErrorCodeFn * or PetscErrorCodeFn **
|
| #
e9e3ce28
|
| 24-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-08-29/improve-ts-pseudo-performance' into 'main'
Optimize TSStep_Pseudo() for most common use case
See merge request petsc/petsc!8675
|
| #
67a21fd9
|
| 30-Aug-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Make PetscStackView() a public function
|
| #
8112c1cb
|
| 22-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-09-04/deprecate-mpiu-bool' into 'main'
Deprecate MPIU_BOOL which used to be for PETSc's enum Bool but now is just MPI_C_BOOL
See merge request petsc/petsc!8691
|
| #
5440e5dc
|
| 04-Sep-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Deprecate MPIU_BOOL which used to be for PETSc' enum Bool but now is just MPI_C_BOOL so no longer needs its own name
|
| #
834855d6
|
| 27-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-21' into 'main'
clang-format-21
See merge request petsc/petsc!8202
|
| #
348d23ef
|
| 17-May-2025 |
Pierre Jolivet <pierre@joliv.et> |
Remove extra parentheses
git grep -lnE "typedef .*\([a-zA-Z0-9]+\)\([a-zA-Z0-9_*, ]*\);" | xargs sed -i '' -E 's#typedef (.*)\(([a-zA-Z0-9]+)\)\(([a-zA-Z0-9_*, ]*)\);#typedef \1 \2\(\3\);#'
|
| #
390d3996
|
| 12-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'lindad/hypre-control-through-pmat' into 'main'
Change hypre PC option defaults based on hypre matrix memory location
See merge request petsc/petsc!8505
|
| #
d476b948
|
| 11-Aug-2025 |
Alex Lindsay <alexlindsay239@gmail.com> |
Introduce PetscObjectParameterDeclarePtr
|
| #
401f2a27
|
| 07-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jczhang/2025-07-23/improve-mpiu-allreduce' into 'main'
Better mismatched MPIU_Allreduce error diagnosis
See merge request petsc/petsc!8586
|
| #
26139085
|
| 23-Jul-2025 |
Junchao Zhang <jczhang@anl.gov> |
Sys: better mismatched MPIU_Allreduce error diagnosis
If allreduce mismatches at different code lines, better to print out the line numbers on all processes (vs. rank 0) for diagnosis.
In addition,
Sys: better mismatched MPIU_Allreduce error diagnosis
If allreduce mismatches at different code lines, better to print out the line numbers on all processes (vs. rank 0) for diagnosis.
In addition, line numbers are good enough, we don't need to check petsc functions (if functions are different, lines are defintely different)
Use a function instead of inlined macros to save stack space in PetscLogHandlerView_Default_Info(), where MPIU_Allreduce() is called many times. If with inlined macros, we encoutered __chkstk segfault in PetscLogHandlerView_Default_Info() with mswin-mpiuni.
Inspired by !8583
show more ...
|