| #
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
|
| #
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 **
|
| #
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
|
| #
ac530a7e
|
| 03-Jun-2025 |
Pierre Jolivet <pierre@joliv.et> |
Remove unnecessary braces around one-liners
git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\
Remove unnecessary braces around one-liners
git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'
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 ...
|
| #
be37439e
|
| 21-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/useless-cast' into 'main'
Remove useless cast
See merge request petsc/petsc!7894
|
| #
835f2295
|
| 05-Oct-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
Brain dead fixes for useless casts
|
| #
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
|
| #
383426fb
|
| 20-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/minor-fixes' into 'main'
Minor fixes
See merge request petsc/petsc!7842
|
| #
a3f1d042
|
| 18-Sep-2024 |
Pierre Jolivet <pierre@joliv.et> |
Minor fixes
See also: https://gitlab.com/slepc/slepc/-/merge_requests/692
|
| #
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
|
| #
1690c2ae
|
| 10-Sep-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Change from deprecated PETSC_MAX/MIN_INT to PETSC_INT_MAX/MIN
Commit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, example Funded
Change from deprecated PETSC_MAX/MIN_INT to PETSC_INT_MAX/MIN
Commit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, example Funded-by: Project: Time: hours Reported-by: Thanks-to: Development Tools: Vim, Emacs, Eclipse
show more ...
|
| #
6497c311
|
| 25-Aug-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']
Also fix the code to repository to compile cleanly with these flags in th
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']
Also fix the code to repository to compile cleanly with these flags in the CI
show more ...
|
| #
ddfd65fc
|
| 12-Aug-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/rule-petscsafepointerplusoffset' into 'main'
checkbadSource: add check for PetscSafePointerPlusOffset
See merge request petsc/petsc!7755
|
| #
de0a9f35
|
| 11-Aug-2024 |
Pierre Jolivet <pierre@joliv.et> |
checkbadSource: add check for PetscSafePointerPlusOffset
|
| #
76d0e6e1
|
| 26-Jul-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'pbrubeck/patch-subksp' into 'main'
Patch: implement PCPatchGetSubKSP
See merge request petsc/petsc!7708
|
| #
fb80e629
|
| 22-Jul-2024 |
Pablo Brubeck <brubeck@protonmail.com> |
Patch: implement PCPatchGetSubKSP
|
| #
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 ...
|
| #
1ed6e3ff
|
| 25-Apr-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-04-13/fix-sowing-strings' into 'main'
Update PETSc to use sowing bfort that handles string arguments and PETSC_NULL_INT
See merge request petsc/petsc!7480
|
| #
cc4c1da9
|
| 14-Apr-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Update source code removing all unneeded /*@C and associated manual stubs and interfaces
|