| #
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 ...
|
| #
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
|
| #
3a7d0413
|
| 12-May-2025 |
Pierre Jolivet <pierre@joliv.et> |
One-liners from petsc/petsc!5344 and petsc/petsc!5557
Slightly reworked regular expression
git ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do cat
One-liners from petsc/petsc!5344 and petsc/petsc!5557
Slightly reworked regular expression
git ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do cat $file | tr '\n' '\r' | sed -E 's/\r([ ]*)(for|if|while|else) ([^\r]*)\{\r[ ]*Petsc([a-zA-Z]*)\(([^\r]*)\);\r[ ]*\}\r/\r\1\2 \3Petsc\4(\5);\r/g' | tr '\r' '\n' > ${file}.joe; mv ${file}.joe ${file} done
show more ...
|
| #
fda22ce0
|
| 08-Jul-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-07-01/fix-petscoptionsgetviewer' into 'main'
The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model
See merge request petsc/petsc!7667
|
| #
648c30bc
|
| 08-Jul-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model
Hence the code needs to be refactored
Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VI
The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model
Hence the code needs to be refactored
Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VIEWER_XXXX_() routines
Reported-by: James Wright Thanks-to: Jeremy L Thompson
show more ...
|
| #
a623e290
|
| 12-Jun-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-05-29/minor-fortran-stub-cleanup' into 'main'
More improvements to Fortran stubs and interfaces
See merge request petsc/petsc!7598
|
| #
5d83a8b1
|
| 30-May-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
This requires some changes to user FORTRAN code
Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array Pass PETSC_NULL_ENUM when argument returns an enum instead of
This requires some changes to user FORTRAN code
Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array Pass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGER Pass arrays (and not scalar values) when the argument is expecting an array; this means replace, for example, the argument v with [v] Use PetscObjectIsNull(obj) to check if the object is NULL, instead of obj == PETSC_NULL_XXX
The compiler will now automatically prevent you from using the wrong argument type for the first three bullets above This will also require an update sowing with the new sowing branch this MR is using.
show more ...
|
| #
b2e8165f
|
| 11-Jun-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
d61ff78d
|
| 11-Jun-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-06-08/minor-docs-fixes/release' into 'release'
Minor docs fixes
See merge request petsc/petsc!7618
|
| #
f13dfd9e
|
| 11-Jun-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Minor docs fixes
|
| #
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
|
| #
55cda6f5
|
| 25-Apr-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
99e79f2f
|
| 25-Apr-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-04-24/doc-fixes/release' into 'release'
release docs fixes
See merge request petsc/petsc!7498
|
| #
a3b724e8
|
| 24-Apr-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
release docs fixes
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:
release docs fixes
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 ...
|
| #
ecceeb7d
|
| 02-Nov-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
3c093a9a
|
| 02-Nov-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-11-01/docs-kspcomputeeigenvalues/release' into 'release'
Fix manual pages in ksp/interface files
See merge request petsc/petsc!6988
|
| #
21afe8eb
|
| 02-Nov-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Spell matlab correctly as MATLAB
Commit-type: housekeeping
|
| #
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
|
| #
92bec4ee
|
| 26-Sep-2023 |
Pierre Jolivet <pierre@joliv.et> |
Remove first and last empty lines
|
| #
9c5460f9
|
| 17-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-09/linter-detect-static-function-candidates' into 'main'
Linter detect possible static functions
See merge request petsc/petsc!6796
|
| #
66976f2f
|
| 14-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Add static to internal functions
|
| #
b5b1a1b8
|
| 13-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-08-10/cannot-destroy-persistant-objects' into 'main'
(1) Fix error return codes for PetscHeaderCreate/Destroy() Cannot use || on them (2) do not allow destroying PETSC_VIEWE
Merge branch 'barry/2023-08-10/cannot-destroy-persistant-objects' into 'main'
(1) Fix error return codes for PetscHeaderCreate/Destroy() Cannot use || on them (2) do not allow destroying PETSC_VIEWER_STDOUT_SELF etc
See merge request petsc/petsc!6804
show more ...
|
| #
34fa283e
|
| 10-Aug-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Some objects such as PETSC_VIEWER_STDOUT_WORLD cannot be destroyed by users.
Reported-by: maitri ksh <maitri.ksh@gmail.com>
|