| #
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 ...
|
| #
5d2a865b
|
| 21-Nov-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/safeguard-pchpddm-schur-ci' into 'main'
Housekeeping + more safeguards in PCHPDDM
See merge request petsc/petsc!8859
|
| #
418fb43b
|
| 18-Nov-2025 |
Pierre Jolivet <pierre@joliv.et> |
Housekeeping
|
| #
7b5fd022
|
| 28-Oct-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/housekeeping' into 'main'
Minor housekeeping
See merge request petsc/petsc!8811
|
| #
663e1fa8
|
| 27-Oct-2025 |
Pierre Jolivet <pierre@joliv.et> |
Remove more unneeded parentheses
|
| #
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 **
|
| #
51b144c6
|
| 29-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MarDiehl/use-bool-instead-of-enum' into 'main'
use bool instead of enum
See merge request petsc/petsc!8528
|
| #
b8b5be36
|
| 21-Jul-2025 |
Martin Diehl <mail@martin-diehl.net> |
distinguish Boolean and Integer
MPI_Comm_get_attr has PetscMPIInt as flag argument, not PetscBool. Name this flag "iflg" (was used somewhere already). Use MPI_LAND instead of MPI_BAND for logical op
distinguish Boolean and Integer
MPI_Comm_get_attr has PetscMPIInt as flag argument, not PetscBool. Name this flag "iflg" (was used somewhere already). Use MPI_LAND instead of MPI_BAND for logical operations instead of MPI_MIN, MPI_MAX, and MPI_LAND.
Note: Most of the previous code was probably working as intended, I did the changes when debugging error related to the use of standard C Bool and kept them because it took me a while to understand that MPI has integer flags and PETSc has Booleans. Using different names makes this clear, but was and is not done consistently.
show more ...
|
| #
1cddb31e
|
| 09-Jun-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-06-06/add-fortran-petscobjectnullify' into 'main'
Add #define PetscObjectNullify(o) o%v = PETSC_FORTRAN_TYPE_INITIALIZE to allow...
See merge request petsc/petsc!8465
|
| #
a7a02aae
|
| 07-Jun-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Add #define PetscObjectNullify(o) o%v = PETSC_FORTRAN_TYPE_INITIALIZE to allow Fortran users to reset a variable to behave as if it had just been declared and not yet been assigned a PETSc object.
R
Add #define PetscObjectNullify(o) o%v = PETSC_FORTRAN_TYPE_INITIALIZE to allow Fortran users to reset a variable to behave as if it had just been declared and not yet been assigned a PETSc object.
Reported-by: Glenn Hammond
show more ...
|
| #
884b5282
|
| 26-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jose/fix-fortran-notes' into 'main'
Fix fortran notes in man pages
See merge request petsc/petsc!8233
|
| #
687234bf
|
| 25-Mar-2025 |
Jose E. Roman <jroman@dsic.upv.es> |
Fix fortran notes in man pages
|
| #
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 ...
|
| #
5574ef43
|
| 08-Nov-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
ce65f7b9
|
| 06-Nov-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/remove-objectsetfromoptions-petsc4py' into 'release'
petsc4py minor
See merge request petsc/petsc!7987
|
| #
be928c2b
|
| 06-Nov-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
petsc4py: clarify docs for Object.setFromOptions
|
| #
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
|
| #
ad781fe3
|
| 21-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-09-29/fix-function-typedef-style' into 'main'
Unify handling of context destructors
See merge request petsc/petsc!7900
|
| #
49abdd8a
|
| 29-Sep-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)
Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those t
Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)
Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those that used PetscContainer
- Now allows any context to be a PetscObject - Will provide a cleaner mapping to bindings in other languages - Simplifies the maintenance of PETSc source code; improves clarity
Not backward compatible, compiler warnings will tell users what functions need to be updated
show more ...
|
| #
5753113e
|
| 04-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/obj-has-fcn' into 'main'
Add PetscObjectHasFunction
See merge request petsc/petsc!7917
|