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
Manual linter fixes: dm
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
Fix -Wextra-semi-stmt
Lint apply: dm
Remove -log_summary
HAVE_FORTRAN should be USE_FORTRAN_BINDINGS since it is about generating the Fortran bindings, not about if the Fortran compiler exists
Merge remote-tracking branch 'origin/release'
PetscPartitionerPtscotch: scotch does not like nparts > nvtxsPlex ex24: PTScotch cannot have 0 partition weight
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
Clean up the code and docs on the usage of PetscOptionsDeprecated() and when the previous call to PetscOptionsXXX('oldname') may be removed from the source codeCommit-type: housekeepingThanks-to:
Clean up the code and docs on the usage of PetscOptionsDeprecated() and when the previous call to PetscOptionsXXX('oldname') may be removed from the source codeCommit-type: housekeepingThanks-to: Pierre JolivetBranch-name: barry/2023-04-08/remove-unneeded-redundant-petscoptionsxxx-for-depricated-optionBranch-root: mainBranch-purpose: PetscOptionsDeprecated(oldname,newname) negates the need to retain the old PetscOptionsXXX(oldname) but in some places the old call was unnessacerily retained causing confusing with new code being written that mimic the unneeded code.
More manual page fixes
Remove need for seperate lib/petsc/conf/test file by merging with rules fileCommit-type: maintainability
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
Fix manual pages based on reports from Jacob's lint toolCommit-type: documentation
Remove now unneeded SOURCE* variables from makefilesCommit-type: configure, housekeeping
Remove empty preprocessor variables
Add PetscFFlush()
Remove unneeded declarations of LOCDIR from all the makefilesCommit-type:documentation
12345