Merge remote-tracking branch 'origin/release'
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
Fix use of offdiagonal to off-diagonal
Remove DIRS variable and unneeded tabs from all makefiles since no longer neededCommit-type: housekeeping
Remove first and last empty lines
MatCreateSubMatrices: rectangular blocks with SBAIJ
Minor documentation fixes
Merge branch 'jacobf/2023-08-17/header-guard-check' into 'main'Check header guardsSee merge request petsc/petsc!6822
Convert all header guards to pragma once
Minor fixes
Delete unused code
Add static to internal functions
Add convenience functions VecCreateFromOptions() and MatCreateFromOptions() to reduce the use of specialize creation routines in the examples and thus make it easier for people to use GPU based solve
Add convenience functions VecCreateFromOptions() and MatCreateFromOptions() to reduce the use of specialize creation routines in the examples and thus make it easier for people to use GPU based solvers
show more ...
Profiling: Improve !defined(PETSC_USE_LOG) #defines- If we cast macro arguments to void, we can avoid unused errors that have forced lots of conditionally included code like this:```c #if def
Profiling: Improve !defined(PETSC_USE_LOG) #defines- If we cast macro arguments to void, we can avoid unused errors that have forced lots of conditionally included code like this:```c #if defined(PETSC_USE_LOG) PetscLogEvent event; #endif```- Having global counters like petsc_TotalFlops externed event if !PetscDefined(USE_LOG) helps to remove a lot of needless `#ifdef`s around code that can instead be placed in `if (PetscDefined(USE_LOG)) {}` blocks.
... and apply it
MatEliminateZeros(): add [S]BAIJ implementations
Manual linter fixes: mat
Fix -Wextra-semi-stmt
Lint apply: mat
HAVE_FORTRAN should be USE_FORTRAN_BINDINGS since it is about generating the Fortran bindings, not about if the Fortran compiler exists
MATMPIBAIJ: fix non const operation in conversion to MPIAIJMake MatDisAssemble_MPIAIJ and MatDisAssemble_MPIBAIJ support null offdiagonal block
Don't use PetscMemcpy() or PetscArraycpy() to copy the ops struct
change to consistent use of ch_xxx for chapter names in the docs, instead of a mix of ch_xx and chapter_xx
12345678910>>...51