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 ...
Merge remote-tracking branch 'origin/release'
checkbadSource: enforce proper style in makefiles
Remove dead code
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#'
missing "s" for isascii and issundials
Remove useless functions
Improve manual page formatting
Merge branch 'release-revert-7765'
If one is updating the model parameters (and hence changing the f(x) at each Newton step (with SNESSetUpdate())) the norm of f used by the line search must be updated or otherwise the line search wil
If one is updating the model parameters (and hence changing the f(x) at each Newton step (with SNESSetUpdate())) the norm of f used by the line search must be updated or otherwise the line search will use the previous fnorm which may be very small and so no sufficient reduction can take place.The extra Norm is a no-op unless the vector has been changed by the user since vectors cache their normsReported-by: Teferra, Kirubel
Update SNESSetTolerances() to accept PETSC_DETERMINE an PETSC_DECIDE
Fix a few locations where SNESFunctionFN and SNESObjectiveFn were not used
LIBBASE is no longer used in make so remove it
SNES: hook PCLMVM
Fix some manual pages focusing on SNES
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
Remove first and last empty lines
Convert all header guards to pragma once
Add static to internal functions
Merge branch 'barry/2023-07-17/linter-fixes-snes' into 'main'Manual Linter fixes: SNESSee merge request petsc/petsc!6719
Manual linter fixes: snes
SNES error handling fixesAdded missing error checking in SNES for inf and nan normsAdd missing handling for if (snes->errorifnotconverged)
Lint apply: snes
SNES: replace missing direct calls to ops->converged with SNESConverged
12345678910>>...21