| #
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 ...
|
| #
2b338477
|
| 03-Jul-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MarDiehl/1781-unify-type-of-setupcalled-to-petscbool' into 'main'
Use PetscBool instead of PetscInt for setupcalled
See merge request petsc/petsc!8495
|
| #
371d2eb7
|
| 03-Jul-2025 |
Martin Diehl <mail@martin-diehl.net> |
Use PetscBool instead of PetscInt for setupcalled
PetscInt was used in some structs, but the underlying logic requires only Booleans. Also removed an unused variable and unified capitalization.
|
| #
b11d9968
|
| 08-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
fa132d12
|
| 04-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/fix-ops-settype' into 'release'
nullify all ops pointers for SNES and TAO
See merge request petsc/petsc!8279
|
| #
09b68a49
|
| 04-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
43547594
|
| 04-Apr-2025 |
Stefano Zampini <stefano.zampini@gmail.com> |
nullify all ops pointers for SNES and TAO
Otherwise, codes like the one below fails
SNESSetType(snes, SNESNEWTONTR) SNESSetType(snes, SNESNEWTONLS) SNESReset(snes) // Uses function pointer set by TR
|
| #
d31fe398
|
| 31-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-typos' into 'release'
Fix typos
See merge request petsc/petsc!8259
|
| #
bfe80ac4
|
| 29-Mar-2025 |
Pierre Jolivet <pierre@joliv.et> |
Fix typos
|
| #
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 ...
|
| #
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 ...
|
| #
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
|
| #
cbb74892
|
| 02-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
c87f018d
|
| 01-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-11-24/fix-ksp-manpages/release' into 'release'
Fix manual pages in KSP
See merge request petsc/petsc!7055
|
| #
562efe2e
|
| 01-Dec-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix manual pages in KSP
|
| #
cb92de99
|
| 08-Nov-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/pc-housekeeping' into 'main'
Some housekeeping on default PC
See merge request petsc/petsc!6997
|
| #
b4f8a55a
|
| 05-Nov-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
PCMAT: use MatSolve as default operation if available
|
| #
5da97e30
|
| 06-Nov-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
aa8fe7cf
|
| 04-Nov-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'BarrySmith-main-patch-11626' into 'release'
Improve PCSetApplication manual page cross links
See merge request petsc/petsc!6768
|
| #
53ff3176
|
| 29-Jul-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Improve PCSetApplication manual page cross links
|
| #
e8e8640d
|
| 26-Sep-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/rm-first-empty-line' into 'main'
Remove first and last empty lines
See merge request petsc/petsc!6892
|