doc: more fixes to remove build warnings
doc: fix References: sectionNotation:. * - textor. year - text
rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
add PetscAssert() and PetscAssertFalse()
make PetscInfo() variadic
SETERRQ[1-9]+ begone
g++11: fix -Werror=misleading-indentation
Fix SNES QN with Jacobian option to call KSPSetFromOptions() from SNESSetFromOptions() and KSPView() from SNESView()Allow SNES QN to have a history of length 0 for which with the Jacobian option pr
Fix SNES QN with Jacobian option to call KSPSetFromOptions() from SNESSetFromOptions() and KSPView() from SNESView()Allow SNES QN to have a history of length 0 for which with the Jacobian option produces the same results as NewtonCommit-type: bug-fix\spend 20mReported-by: hg <hgbk2008@gmail.com>
show more ...
Documentation fixes
Turn on checkbadSource test to generate an error when found; fix all source code that causes errorsCommit-type: portability-fix, testing-fix, style-fix, feature, maintainability/spend 1.5h
Merge remote-tracking branch 'origin/maint'
Non-ASCII characters in source should be an immediate error, not allowed in masterI wasted a huge amount of time with Python 3 and difficulties reading files with stdin and friendsdue to non-ASCII
Non-ASCII characters in source should be an immediate error, not allowed in masterI wasted a huge amount of time with Python 3 and difficulties reading files with stdin and friendsdue to non-ASCII characters in the sourceCommit-type: error-checking, portability-fix, testing-fix, style-fix, feature/spend 5h
SNES: Replace 0 -> NULL for pointers
SNES: only change linesearch type when not already setThis is necessary to allow users to SNESLineSearchSetType before SNESSetFromOptions.
refactored LMVM matrix names for Broyden-class methods
SNESQN harmonization with MATLMVM objects
SNES: minor
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be unif
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be uniformly used or maintained.Thus, remove all .keywords: fields, and a following blank line, if present.This is accomplished with GNU sed (gsed on OS X), with the following commands.*Warning* that this type of command can corrupt a .git directory,so be cautious in reusing or modifying these commands. They first lookfor and delete matching lines with a following line consisting of only whitespace,and then delete any remaining matching lines. find src/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find src/ -type f -exec gsed -i '/keywords:/d' {} + find include/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find include/ -type f -exec gsed -i '/keywords:/d' {} +Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed
SNESQN: fix location of update callsAs per the documentation, the update callback is called at the beginning of each step
Support domain errors in SNESComputeJacobian
Add two APIs: SNESGetUpdateNorm and SNESGetSolutionNormRetrieve update and solution normsWe may/might want to print update and solution norms in a user-provided convergence checker if the SNES co
Add two APIs: SNESGetUpdateNorm and SNESGetSolutionNormRetrieve update and solution normsWe may/might want to print update and solution norms in a user-provided convergence checker if the SNES converged due to a small update length.
SNES: move logging of KSP iterations into SNESCheckKSPSolveThis fixes inconsistencies noticed by snes/examples/tutorials/ex5.cwhich checks that the number of linear iterations reported by the KSP
SNES: move logging of KSP iterations into SNESCheckKSPSolveThis fixes inconsistencies noticed by snes/examples/tutorials/ex5.cwhich checks that the number of linear iterations reported by the KSPmatches that reported by SNES. Prior to this change, lack ofconvergence would cause an early return without including the KSPiterations.Commit-type: bug-fix
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \(
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \( -name "*.c" -or -name "*.h" -or -name "*.cxx" \) | xargs gsed -i 's/Notes\s*:\s*\(\w.*\)/Notes:\n \1/'This adds a newline and 4 spaces whenever "Notes:" is followed by any "word" character, in any .c, .h, or .cxx file in src/ or include/
Make ASCII PC/KSP/SNES/TSView() code and output in a standard styleThe code that prints the ASCII view for solvers was occasionally inconsistent:1) TSView printed the type specific information aft
Make ASCII PC/KSP/SNES/TSView() code and output in a standard styleThe code that prints the ASCII view for solvers was occasionally inconsistent:1) TSView printed the type specific information after the general info while all other solvers printed it before (right after the name of the type is printed)2) KSPView consistently printed the name of the subtype on EACH line of the subtypes output as did a few of the PC and SNES viewers. Since they are all printed indented directly below the subtype name there is no reason to print this information on each line3) TSView printed output about number of linear solvers and SNES even for explicit methods, which is goofy.4) a few other minor formatting and consistency issues where fix.Commit-type: style-fix, featureTime: 16 hours
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-t
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-to: Andreas Mang <andreas@ices.utexas.edu>
12345678910