| #
ae1ee551
|
| 23-Feb-2026 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/more-petscdefined' into 'main'
Minor housekeeping
See merge request petsc/petsc!9058
|
| #
fc2fb351
|
| 21-Feb-2026 |
Pierre Jolivet <pierre@joliv.et> |
Switch some defined(PETSC_ to PetscDefined(
|
| #
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
|
| #
1dc74096
|
| 21-Jul-2025 |
Martin Diehl <mail@martin-diehl.net> |
use standard bool instead of enum
PetscBool is equivalent to _Bool/bool in C
For C standards prior to C23, true = 1 and false = 0 are defined in <stdbool.h>. For C23, true and false are real keywor
use standard bool instead of enum
PetscBool is equivalent to _Bool/bool in C
For C standards prior to C23, true = 1 and false = 0 are defined in <stdbool.h>. For C23, true and false are real keywords.
The Fortran equivalent is logical(C_BOOL) with C_BOOL from ISO_C_binding.
The C and the C++ standard do not specify the size of Booleans, but they typically have a size of 1 Byte with b00000000 for false and b00000001 for true. When using compilers from the same vendor, it is sane to assume that _Bool/bool in C and bool in C++ are fully compatible. But that is not guaranteed by the standards
show more ...
|
| #
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 ...
|
| #
174dc0c8
|
| 28-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
63ad3209
|
| 25-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-04-17/rm-dollar-sign-formated-manualpages/release' into 'release'
Remove the last of the uses of $ in the first line of formatted manual pages
See merge request petsc/petsc
Merge branch 'barry/2025-04-17/rm-dollar-sign-formated-manualpages/release' into 'release'
Remove the last of the uses of $ in the first line of formatted manual pages
See merge request petsc/petsc!8332
show more ...
|
| #
b44f4de4
|
| 25-Apr-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove the last of the uses of $ in the first line of formatted manual pages
|
| #
281ff59e
|
| 21-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/fix-plex-hdf5-compress' into 'main'
Plex+HDF5: Fix compression handling in HDF5 output
See merge request petsc/petsc!8317
|
| #
ea87367f
|
| 15-Apr-2025 |
Matthew G. Knepley <knepley@gmail.com> |
Plex+HDF5: Fix compression handling in HDF5 output - Add compress flag to HDF5 Viewer - Add PetscViewerHDF5SetCompress() and PetscViewerHDF5GetCompress() - Initialize IS compressOutput to PETSC_TRUE
Plex+HDF5: Fix compression handling in HDF5 output - Add compress flag to HDF5 Viewer - Add PetscViewerHDF5SetCompress() and PetscViewerHDF5GetCompress() - Initialize IS compressOutput to PETSC_TRUE and check viewer flag as well - Turn on viewer compression rather than flip IS flag in Plex output
show more ...
|
| #
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 ...
|
| #
67ea8cea
|
| 10-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-09/prune-viewer-internals' into 'main'
Prune some PetscViewer internals
See merge request petsc/petsc!6794
|
| #
34e79e72
|
| 09-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Prune some PetscViewer internals:
1. Make functions used only within a single TU static 2. Make private functions used only within PETSc either PETSC_INTERN or PETSC_SINGLE_LIBRARY_INTERN 3. Apply t
Prune some PetscViewer internals:
1. Make functions used only within a single TU static 2. Make private functions used only within PETSc either PETSC_INTERN or PETSC_SINGLE_LIBRARY_INTERN 3. Apply the same treatment to variables
show more ...
|
| #
186cd71f
|
| 24-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-07-19/lint-apply-ts' into 'main'
Manual linter fixes: ts
See merge request petsc/petsc!6736
|
| #
42747ad1
|
| 21-Jul-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
... and apply it
|
| #
cfd92c66
|
| 22-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'tisaac/feature-type-generic-petsc-valid-pointer' into 'main'
Implement a type generic PetscValidPointer
See merge request petsc/petsc!6693
|
| #
4f572ea9
|
| 18-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Rename PetscValidPointer -> PetscAssertPointer
|
| #
7a2f837d
|
| 06-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Deploy new PetscValidPointer, remove PetscValidXXXPointer
|
| #
02477ebb
|
| 15-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-06-30/enable-doc-lint' into 'main'
Enable docs linting
See merge request petsc/petsc!6667
|
| #
10450e9e
|
| 12-Jul-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Manual linter fixes: sys
|
| #
aec76313
|
| 12-Jul-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Lint apply: sys
|
| #
e9f36840
|
| 18-Mar-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-03-08/fix-man-pages-detected-by-lint' into 'main'
Fix many manual pages
See merge request petsc/petsc!6162
|
| #
20f4b53c
|
| 09-Mar-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix manual pages based on reports from Jacob's lint tool
Commit-type: documentation
|
| #
5a7a9864
|
| 14-Mar-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jeremy/less-strcpy-strcat' into 'main'
Use Petsc[Strncpy,Strlcat,Memcpy] over Petsc[Strcpy,Strcat]
Closes #1332
See merge request petsc/petsc!6115
|