| #
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 ...
|
| #
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
|
| #
5ebfa9e9
|
| 21-Sep-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Introduce PetscFortranCallbackFn to be used instead of PetscVoidFn for Fortran callback functions
Also fix incorrect use of SNESFunctionFn and SNESJacobianFn in SNES Fortran manual stub
|
| #
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 **
|
| #
b0dcfd16
|
| 23-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-03-20/minor-fortran-cleanup' into 'main'
Minor cleanup of Fortran binding stuff to simplify future maintainance
See merge request petsc/petsc!8218
|
| #
6dd63270
|
| 20-Mar-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Minor cleanup of Fortran binding stuff to simplify future maintainance
There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90
Minor cleanup of Fortran binding stuff to simplify future maintainance
There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90impl.h files. Also move uses of f90 to ftn when simple
show more ...
|
| #
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
|
| #
57508ece
|
| 17-Sep-2024 |
Pierre Jolivet <pierre@joliv.et> |
Remove unneeded parentheses
|
| #
39b18c95
|
| 26-Jul-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-07-18/add-mpi-err-check' into 'main'
Add length argument to PetscMPIErrorString() to prevent potential array overflow
See merge request petsc/petsc!7702
|
| #
a1fd7ae3
|
| 18-Jul-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Add length argument to PetscMPIErrorString() to prevent potential array overflow
Add test to loop over MPI error codes. Reveals known bug in MPICH implementation
|
| #
0764c050
|
| 18-May-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Update sowing bfort for automatic generation of XXXDestroy() code
Fix some Fortran stub code to work with generation of XXXDestroy()
Add some runtime tests for XXXCreate() calls
Also update sowing
Update sowing bfort for automatic generation of XXXDestroy() code
Fix some Fortran stub code to work with generation of XXXDestroy()
Add some runtime tests for XXXCreate() calls
Also update sowing and fortranimpl.h to use PETSC_NULLPTR instead of NULL
show more ...
|
| #
221687cc
|
| 17-May-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Add some error checking for use of PETSC_NULL_XXX in Fortran interface
Minor cleanup of Fortran error messages
|
| #
cef0416b
|
| 15-May-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-04-26/fix-sowing-viewers' into 'main'
Remove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowing
See merge request petsc/petsc!7511
|
| #
ffeef943
|
| 28-Apr-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Update to sowing version that supports PetscViewer and PetscObject
Remove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowing
Also handles the passing of null
Update to sowing version that supports PetscViewer and PetscObject
Remove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowing
Also handles the passing of null objects correctly
show more ...
|
| #
fb3cba25
|
| 14-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
97c6995e
|
| 14-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'balay/ci-check-each-commit' into 'release'
CI: check each commit separately for build and code format
See merge request petsc/petsc!7112
|
| #
dfef5ea7
|
| 13-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Fix -Wzero-as-null-pointer-constant errors
|
| #
a663c1df
|
| 13-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
fafa7813
|
| 13-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-04-11/run-clang-format-on-ftn-custom/release' into 'release'
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
Merge branch 'barry/2023-04-11/run-clang-format-on-ftn-custom/release' into 'release'
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
See merge request petsc/petsc!6310
show more ...
|
| #
5975b3b6
|
| 11-Apr-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
|
| #
f920de81
|
| 12-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
5fb8f3d7
|
| 11-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-typo' into 'release'
Fix typos
See merge request petsc/petsc!6304
|
| #
be87f6c0
|
| 11-Apr-2023 |
Pierre Jolivet <pierre@joliv.et> |
Fix typos
|
| #
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
|