Minor fixes
Add static to internal functions
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.
show more ...
Rename PetscValidPointer -> PetscAssertPointer
Deploy new PetscValidPointer, remove PetscValidXXXPointer
Lint apply: mat
Merge branch 'barry/2023-06-15/add-fortran-file-viewer' into 'main'Allow one to attach a PETSCVIEWERASCII to a Fortran file unitSee merge request petsc/petsc!6607
HAVE_FORTRAN should be USE_FORTRAN_BINDINGS since it is about generating the Fortran bindings, not about if the Fortran compiler exists
Collapse MatDense_CUPM::Shift() and MatDense_CUPM::GetDiagonal() down to base class
Add MatGetDiagonal_CUPM
Merge remote-tracking branch 'origin/release'
remove ifdef __cplusplus from C++-only headers
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
Add MatCreateDenseForVecTypeRemove old implementation (only in main) and update testand a convenience internal routine to allocate the column vector when requested
Add MatDenseCUPMSetPreallocation
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
Mat: fix unused variable
Allow NULL pointers in MatDenseRestoreXXX
non-test and tutorial makefiles only need rules.doc not the full rulesCommit-type: documentation
Only makefiles in the test and tutorial directories need lib/petsc/conf/testCommit-type: housekeeping
Allow restoring arrays with NULL
Remove now unneeded SOURCE* variables from makefilesCommit-type: configure, housekeeping
Remove unneeded SOURCEH from makefilesNo longer used by docs or build
Fix Wmaybe-uninitialized
12345678910>>...38