Fix bugs in handling PetscViewerGetSubViewer() and tabing in ASCII viewersReported-by: Pierre Jolivet
Merge remote-tracking branch 'origin/release'
Spell matlab correctly as MATLABCommit-type: housekeeping
Fix typos
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
Remove first and last empty lines
Convert all header guards to pragma once
Fix some malformed if !defined() header guards
Delete unused code
Add static to internal functions
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 etcSee merge request petsc/petsc!6804
show more ...
Some objects such as PETSC_VIEWER_STDOUT_WORLD cannot be destroyed by users.Reported-by: maitri ksh <maitri.ksh@gmail.com>
Prune some PetscViewer internals:1. Make functions used only within a single TU static2. Make private functions used only within PETSc either PETSC_INTERN orPETSC_SINGLE_LIBRARY_INTERN3. Apply t
Prune some PetscViewer internals:1. Make functions used only within a single TU static2. Make private functions used only within PETSc either PETSC_INTERN orPETSC_SINGLE_LIBRARY_INTERN3. Apply the same treatment to variables
Fix documentation
Fix missing new lines at the end of PetscInfo() calls
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.
Merge branch 'jolivet/housekeeping' into 'main'Minor housekeepingSee merge request petsc/petsc!6753
Remove git directory whose parent directory has same filesSome duplication with git commands must have happened at some point that was not noticed
Remove dead code associated to PETSC_MISSING_ERRNO_EINTR
... and apply it
Rename PetscValidPointer -> PetscAssertPointer
Deploy new PetscValidPointer, remove PetscValidXXXPointer
12345678910>>...32