| #
9d47de49
|
| 18-Feb-2026 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2026-02-14/fix-defined-missing-braces' into 'main'
Fix the inconsistent usage of #if defined XXX compared to defined(XXX)
See merge request petsc/petsc!9040
|
| #
beceaeb6
|
| 15-Feb-2026 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix the inconsistent usage of #if [!]defined XXX compared to defined(XXX)
Thanks-to: Pierre Jolivet
An LLM Claude detected the incosnsitency it was not used to remove the inconsistency
|
| #
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 **
|
| #
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
|
| #
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 ...
|
| #
966bd95a
|
| 25-May-2025 |
Pierre Jolivet <pierre@joliv.et> |
Convert some SETERRQ() to PetscCheck()
|
| #
3f5a071c
|
| 20-Jun-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'ksagiyam/fix_submesh_coordinates' into 'main'
Ksagiyam/fix submesh coordinates
See merge request petsc/petsc!8353
|
| #
99acd26c
|
| 02-May-2025 |
ksagiyam <k.sagiyama@imperial.ac.uk> |
dm: add createcellcoordinatedm method
|
| #
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 ...
|
| #
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 ...
|
| #
239c4413
|
| 14-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'tisaac/fix-p4est-global-coordinates' into 'main'
DMForest: add failing test supplied by Berend van Wachem
See merge request petsc/petsc!7028
|
| #
c7d28b7c
|
| 14-Mar-2024 |
Matthew G. Knepley <knepley@gmail.com> |
Forest: Name embedded Plex
|
| #
671c294a
|
| 26-Jan-2024 |
Toby Isaac <toby.isaac@gmail.com> |
DMForest: ensure setup called when converting to plex
|
| #
707c51c7
|
| 05-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
DMForest: set a default discretization for the coordinateDM
Usually not needed, unless global coordinates are asked for, because then the global coordinates are created from the local coordinates by
DMForest: set a default discretization for the coordinateDM
Usually not needed, unless global coordinates are asked for, because then the global coordinates are created from the local coordinates by DMLocalToGlobal(), and then the constraint matrices are needed.
Thanks to Berend van Wachem for reporting and supplying a test case.
show more ...
|
| #
970231d2
|
| 07-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-18' into 'main'
clang-format version 18
See merge request petsc/petsc!6902
|
| #
4ad8454b
|
| 09-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
Remove some unneeded parentheses
|
| #
f4f49eea
|
| 11-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g' git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g' git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'
show more ...
|
| #
4d86920d
|
| 10-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
checkbadSource: rules for PetscFunctionBegin and derivatives
|