Fix manpages: mismatching number of parameters
g++11: fix -Werror=misleading-indentation
Remove all double blank lines from sourceCommit-type: petsc-style/2h
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
SNES: Replace 0 -> NULL for pointers
Segmentation fault in SNESTR_KSPConverged_Private
Fixed error in example, missing one of the changed arguments; fix docs and add docsCommit-type: testing-fix, documentationReported-by: gitlab-ci
Moved update of vec_sol_update to after Pre/PostCheck()
Refactored NewtonTR to include a PreCheck() and vector naming convention similar to LineSearch (i.e. added Vec W).
Merge branch 'barry/9-7/2019/SNES_CONVERGED_TR_DELTA-Error' [PR #1857]* barry/9-7/2019/SNES_CONVERGED_TR_DELTA-Error:Make SNES_CONVERGED_TR_DELTA negative to indicate the SNES did not converge.
Add SNESNewtonTRSetPostCheck() that sets a function that is called immediately before the next function SNES function evaluation. This allows one to potentially change the updated solution or
Add SNESNewtonTRSetPostCheck() that sets a function that is called immediately before the next function SNES function evaluation. This allows one to potentially change the updated solution or log properties of the update for a later convergence test Commit-type: feature Reported-by: Glenn E. Hammond <gehammo@sandia.gov> Reported-by: Heeho Park <heepark@sandia.gov>
show more ...
Make SNES_CONVERGED_TR_DELTA negative to indicate the SNES did not converge.I cannot explain why previously this was handled as converged since the trust region going tozero doesn't seem to corres
Make SNES_CONVERGED_TR_DELTA negative to indicate the SNES did not converge.I cannot explain why previously this was handled as converged since the trust region going tozero doesn't seem to correspond with convergence of the nonlinear solverCommit-type: bug-fixReported-by: Heeho Park <heepark@sandia.gov>
Missing SNESCheckFunctionNorm() in the Newton TR solver could result infinite loop onNan/Inf if user input is Nan/InfCommit-type: bug-fixReported-by: Heeho Park <heepark@sandia.gov>
Allow user provided KSP convergence test to be used by KSP called from SNESNEWTONTRPreviously SNESNEWTONTR was hardwired to call the default KSP convergence test andthen its own special test, inst
Allow user provided KSP convergence test to be used by KSP called from SNESNEWTONTRPreviously SNESNEWTONTR was hardwired to call the default KSP convergence test andthen its own special test, instead pass down whatever convergence test was set forthe KSP and use that one followed by the special testChange test case to specifically look for requested string onlyPrevents the need for alt files due to different convergence historywith different precisions and compilersCommit-type: bug-fix, feature, example, portability-fix, testing-fixReported-by: Robert Nourgaliev <nourgaliev1@llnl.gov>Reported-by: nightly tests
NEWTONTR: step update must be copied before AYPX
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.
Allow -1 to SNESSetTolerances() and -snes_max_funcs to indicate unlimited number of function evaluationsThis is useful when running with -snes_test_jacobian and other use casesCommit-type: featur
Allow -1 to SNESSetTolerances() and -snes_max_funcs to indicate unlimited number of function evaluationsThis is useful when running with -snes_test_jacobian and other use casesCommit-type: featureReported-by: Hong Zhang <hongzhang@anl.gov>
Merge branch 'maint'
Fix formatting of manual pageCommit-type: documentationReported-by: Philip Eisenlohr <eisenlohr@egr.msu.edu>Development Tools: Vim, Emacs, Eclipse
Rename some private functionsRename some private functions which start with XXX_, where XXX is the name of a main PETSc class,and mark static if needbe.
Count MPI_Bcast in the logging along with everything else as an allreduceCommit-type: featureReported-by: Jose E. Roman <jroman@dsic.upv.es>
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>
SNES: Add flag indicating if final residual is always computedAlthough SNESSolve_XXX always updates the solution variable, it may notbe the case that the residual in vec_func is the residual at th
SNES: Add flag indicating if final residual is always computedAlthough SNESSolve_XXX always updates the solution variable, it may notbe the case that the residual in vec_func is the residual at the newsolution. Track this behaviour explicitly for all concreteimplementations. We will use this in SNESSolve_FAS to determine if theresidual must be computed before transferring it between levels.
12345678910>>...15