Add cast to be pedantic
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
Fixes for clang-tidy
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 ...
Merge remote-tracking branch 'origin/release'
Docs: fix nonexisting functions and variables
This requires some changes to user FORTRAN codePass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an arrayPass PETSC_NULL_ENUM when argument returns an enum instead of
This requires some changes to user FORTRAN codePass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an arrayPass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGERPass 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_XXXThe compiler will now automatically prevent you from using the wrong argument type for the first three bullets aboveThis will also require an update sowing with the new sowing branch this MR is using.
Update source code removing all unneeded /*@C and associated manual stubs and interfaces
release docs fixesCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded-by:Project:Time: hoursReported-by:
release docs fixesCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded-by:Project:Time: hoursReported-by:Thanks-to:Development Tools: Vim, Emacs, Eclipse
CI: update to clang-format-18
checkbadSource: rules for PetscFunctionBegin and derivatives
Fix words appearing twice in a row for no good reason
Fix possible infinite recursion of PETSc errorsPetscInfo may be called during MPI_Finalize, when no communicator is available is not MPI_COMM_WORLDPetscCallMPI(MPI_Comm_XXX()) calls may fail thus
Fix possible infinite recursion of PETSc errorsPetscInfo may be called during MPI_Finalize, when no communicator is available is not MPI_COMM_WORLDPetscCallMPI(MPI_Comm_XXX()) calls may fail thus triggering recursive errors
LIBBASE is no longer used in make so remove it
Use strerror(errno) on fprintf() when possible to provide more detail on why the system call failed
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
Remove DIRS variable and unneeded tabs from all makefiles since no longer neededCommit-type: housekeeping
Fix uneven back ticks
Remove first and last empty lines
Convert all header guards to pragma once
Add static to internal functions
... and apply it
Rename PetscValidPointer -> PetscAssertPointer
Deploy new PetscValidPointer, remove PetscValidXXXPointer
Manual linter fixes: sys
12345678910>>...20