| #
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 ...
|
| #
8112c1cb
|
| 22-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-09-04/deprecate-mpiu-bool' into 'main'
Deprecate MPIU_BOOL which used to be for PETSc's enum Bool but now is just MPI_C_BOOL
See merge request petsc/petsc!8691
|
| #
5440e5dc
|
| 04-Sep-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Deprecate MPIU_BOOL which used to be for PETSc' enum Bool but now is just MPI_C_BOOL so no longer needs its own name
|
| #
f0d2bb25
|
| 03-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/improve-bddc-multielement' into 'main'
Improve BDDC multi-element
See merge request petsc/petsc!8608
|
| #
2daa06b4
|
| 09-Aug-2025 |
Stefano Zampini <stefano.zampini@gmail.com> |
PCBDDC: optimize graph setup with hash map
|
| #
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 ...
|
| #
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 ...
|
| #
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
|
| #
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
|
| #
462c564d
|
| 14-Sep-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix MPIU_* routines to always return MPI error codes and thus be usable with PetscCallMPI()
Introduce MPIU_Count to be used when MPI_Count is not available
|
| #
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 ...
|
| #
b33117a8
|
| 26-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/hcurl-fdm' into 'main'
PCBDDCNedelecSupport: patch for FDM
See merge request petsc/petsc!7406
|
| #
0b61a303
|
| 24-Mar-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
PCBDDCNedelecSupport: patch for FDM
|
| #
94d400ad
|
| 25-Mar-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
PCBDDCGraphASCIIView: default viewer
|
| #
ec4bd5ab
|
| 22-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jose/fix-warning-bddc' into 'main'
Fix compile warning in bddcgraph.c (Intel C++)
See merge request petsc/petsc!7401
|
| #
e4ebd542
|
| 22-Mar-2024 |
Jose E. Roman <jroman@dsic.upv.es> |
Fix compile warning in bddcgraph.c (Intel C++)
petsc/src/ksp/pc/impls/bddc/bddcgraph.c(1101): error #823: reference is to variable "i" (declared at line 732) -- under old for-init scoping rules it w
Fix compile warning in bddcgraph.c (Intel C++)
petsc/src/ksp/pc/impls/bddc/bddcgraph.c(1101): error #823: reference is to variable "i" (declared at line 732) -- under old for-init scoping rules it would have been variable "i" (declared at line 1086) for (i = 0, mss = 0; i < graph->n_subsets; i++) mss = PetscMax(graph->subset_size[i], mss); ^ petsc/src/ksp/pc/impls/bddc/bddcgraph.c(1101): error #823: reference is to variable "i" (declared at line 732) -- under old for-init scoping rules it would have been variable "i" (declared at line 1086) for (i = 0, mss = 0; i < graph->n_subsets; i++) mss = PetscMax(graph->subset_size[i], mss); ^
show more ...
|
| #
7f7e2d37
|
| 21-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/firedrake' into 'main'
Element-by-element BDDC
See merge request petsc/petsc!7329
|
| #
9de2952e
|
| 28-Feb-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
PCBDDC: support multi-element local matrices
StructOfArrays->ArrayOfStruct for BDDC graph node metadata implement squaring of local graph Implement customization loading to test Hdiv and Hcurl Added
PCBDDC: support multi-element local matrices
StructOfArrays->ArrayOfStruct for BDDC graph node metadata implement squaring of local graph Implement customization loading to test Hdiv and Hcurl Added tests
show more ...
|