Merge remote-tracking branch 'origin/release'
TAO: update OWLQN iteration counter tao->niter (#1867)
TAO: use gradient in CG/NLS fallback descent paths (#1860,#1868)
Remove the last of the use of horizontal lines --- as seperators. With modern code development systems they are not needed and just an eye-sore
Improve the propagation of function domain error handling in SNES, especially in the line search routines.Due to the object layering of SNESLineSearch under SNES there is some code duplication incl
Improve the propagation of function domain error handling in SNES, especially in the line search routines.Due to the object layering of SNESLineSearch under SNES there is some code duplication include both SNESLineSearchReason and SNESConvergedReason and SNESCheckFunctionNorm() and SNESLineSearchCheckFunctionNorm() and Jacobian friendsReported-by: david.knezevic@akselos.com
show more ...
checkbadSource: enforce proper style in makefiles
Remove unnecessary braces around one-linersgit grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\
Remove unnecessary braces around one-linersgit grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'
Tao: Add names for TaoLineSearch types
MatLMVM: Update test output
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous ve
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous versions!- also clean up inconsistent PETSc code detected by new Fortran generation tools- drop use of bfort- automatically generate all the Fortran PETSc objects, enums etc from the include files- generate most of the Fortran interface definitions and functions from the source code- simplify the number and organization of Fortran modulesCo-authored-by: Jose E. Roman <jroman@dsic.upv.es>
PETSc functions that return non-error codes cannot use PetscCall()
Deprecate PETSC_DEFAULT for Tao parameters with PETSC_CURRENT and add support for PETSC_DETEREMINE to use default
TAO: clarify usage of update hookfix implementations
Fix gcc-14 -Warray-bounds warnings for hypothetical negative sizesThese warnings arise because we use (signed int32) PetscInt for sizesthat must be nonnegative, then cast to size_t. This leads to
Fix gcc-14 -Warray-bounds warnings for hypothetical negative sizesThese warnings arise because we use (signed int32) PetscInt for sizesthat must be nonnegative, then cast to size_t. This leads to warningswhen the compiler doesn't know that the integers can't be negative.In function ‘PetscMemzero’, inlined from ‘TSARKIMEXRegister’ at /home/jed/petsc/src/ts/impls/arkimex/arkimex.c:1182:10:/home/jed/petsc/include/petscstring.h:758:3: warning: ‘memset’ pointer overflow between offset 0 and size [-17179869184, -8] [-Warray-bounds=] 758 | memset(a, 0, n); | ^~~~~~~~~~~~~~~Compare commit 095c51fa7c16ea848964bdaab3c2c2b53b8a3072 from 2023: Fix gcc-13 -Warray-bounds warnings involving hypothetical negative sizes
Tao LMVM and Rosenbrock examples changes, and spacing fixes for test outputs
Dense LMVM - BFGS, DFP, QN implemented
checkbadSource: rules for PetscFunctionBegin and derivatives
LIBBASE is no longer used in make so remove it
fix analyser error, wants the function to be declared as static directly
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 typos
Convert all header guards to pragma once
Add static to internal functions
12345678