| #
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 ...
|
| #
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
|
| #
c7fbd2bd
|
| 02-Feb-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-01-19/typedef-snes-functions' into 'main'
add typedef for functions passed to SNESSetFunction() etc to match approach in TS
See merge request petsc/petsc!7206
|
| #
8434afd1
|
| 02-Feb-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Change the use of the _Fn suffix to indicate a typedef of a function to just Fn
As determined on a vote on GitLab
|
| #
d1c5d1fc
|
| 21-Jan-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Convert TS typedef functions to new style ending with _Fn
Commit-type: housekeeping, maintainability
|
| #
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
|
| #
3ba16761
|
| 10-Dec-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Make PetscErrorCode a non-discardable enum
|
| #
061e922f
|
| 22-Sep-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-09-21/2-bike-2-shed' into 'main'
Feature: Bicycle Storage Facility 2
See merge request petsc/petsc!5661
|
| #
d71ae5a4
|
| 21-Sep-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
source code format changes due to .clang-format changes
|
| #
58d68138
|
| 23-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-08-21/clang-format-source' into 'main'
format repository with clang-format
See merge request petsc/petsc!5541
|
| #
9371c9d4
|
| 22-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
clang-format: convert PETSc sources to comply with clang-format
|
| #
5cab5458
|
| 26-Jul-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-07-23/add-petscbeginuser' into 'main'
Add PetscFunctionBeginUser to all PETSc C/C++ examples
See merge request petsc/petsc!5470
|
| #
327415f7
|
| 23-Jul-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Add PetscFunctionBeginUser to all PETSc C/C++ examples
Now the stack frames will contain the main program and the correct line numbers in them
git ls-files | egrep "(tutorials|tests)" | xargs sed -
Add PetscFunctionBeginUser to all PETSc C/C++ examples
Now the stack frames will contain the main program and the correct line numbers in them
git ls-files | egrep "(tutorials|tests)" | xargs sed -i "s?\(PetscCall(PetscInitialize(&argc\)?PetscFunctionBeginUser;\n \1?g"
Commit-type: error-checking, testing-fix /spend 15m
show more ...
|
| #
527ad957
|
| 11-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-04-01/fix-petsc-options-begin-end/release' into 'main'
Remove bogus error returns from Begin/End() macros
See merge request petsc/petsc!5069
|
| #
d0609ced
|
| 02-Apr-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Cleanup of introduction of PetscCall()
* remove bogus error flags from XXXBegin()/End() macros such as PetscOptionsBegin()/End()
* rename for consistency certain XXXBegin()/End() macros such as Mat
Cleanup of introduction of PetscCall()
* remove bogus error flags from XXXBegin()/End() macros such as PetscOptionsBegin()/End()
* rename for consistency certain XXXBegin()/End() macros such as MatPreallocateInitialize()/Finalize()
* fix many lingering ierr = XXX that arose from multiline function calls
* sync slepc/hpddm - to use snapshots with the same changes
Commit-type: error-checking, style-fix /spend 8h
show more ...
|
| #
e6abfd98
|
| 28-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-03-26/variadic-chkerrq-stragglers' into 'main'
Clean Up Variadic-CHKERRQ Stragglers
See merge request petsc/petsc!5033
|
| #
b8abcfde
|
| 26-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
fixup some remaining stragglers from !4889
|
| #
f882803c
|
| 26-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-02-23/variadic-chkerr' into 'main'
Variadic CHKERRQ()
See merge request petsc/petsc!4889
|
| #
9566063d
|
| 25-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
The great renaming:
- CHKERRQ() -> PetscCall() - CHKERRV() -> PetscCallVoid() - CHKERRMPI() -> PetscCallMPI() - CHKERRABORT() -> PetscCallAbort() - CHKERRCONTINUE() -> PetscCallContinue() - CHKERRXX
The great renaming:
- CHKERRQ() -> PetscCall() - CHKERRV() -> PetscCallVoid() - CHKERRMPI() -> PetscCallMPI() - CHKERRABORT() -> PetscCallAbort() - CHKERRCONTINUE() -> PetscCallContinue() - CHKERRXX() -> PetscCallThrow() - CHKERRCXX() -> PetscCallCXX() - CHKERRCUDA() -> PetscCallCUDA() - CHKERRCUBLAS() -> PetscCallCUBLAS() - CHKERRCUSPARSE() -> PetscCallCUSPARSE() - CHKERRCUSOLVER() -> PetscCallCUSOLVER() - CHKERRCUFFT() -> PetscCallCUFFT() - CHKERRCURAND() -> PetscCallCURAND() - CHKERRHIP() -> PetscCallHIP() - CHKERRHIPBLAS() -> PetscCallHIPBLAS() - CHKERRHIPSOLVER() -> PetscCallHIPSOLVER() - CHKERRQ_CEED() -> PetscCallCEED() - CHKERR_FORTRAN_VOID_FUNCTION() -> PetscCallFortranVoidFunction() - CHKERRMKL() -> PetscCallMKL() - CHKERRMMG() -> PetscCallMMG() - CHKERRMMG_NONSTANDARD() -> PetscCallMMG_NONSTANDARD() - CHKERRCGNS() -> PetscCallCGNS() - CHKERRPTSCOTCH() -> PetscCallPTSCOTCH() - CHKERRSTR() -> PetscCallSTR() - CHKERRTC() -> PetscCallTC()
show more ...
|
| #
b122ec5a
|
| 24-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
PetscInitialize() and PetscFinalize() wrapped:
- ierr = PetscInitialize();if (ierr) return ierr; + CHKERRQ(PetscInitialize());
- ierr = PetscFinalize(); - return ierr; + CHKERRQ(PetscFinalize()); +
PetscInitialize() and PetscFinalize() wrapped:
- ierr = PetscInitialize();if (ierr) return ierr; + CHKERRQ(PetscInitialize());
- ierr = PetscFinalize(); - return ierr; + CHKERRQ(PetscFinalize()); + return 0;
show more ...
|
| #
5f80ce2a
|
| 24-Feb-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
chkerr and friends wrapped
|
| #
d4555522
|
| 22-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-03-19/rm-ts-petsccheckfalse' into 'main'
Remove many PetscCheckFalse() from ts
See merge request petsc/petsc!4996
|
| #
3c633725
|
| 20-Mar-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove many PetscCheckFalse() from ts
Commit-type: style-fix /spend 1h Thanks-to: Jose E. Roman <jroman@dsic.upv.es>
|