Merge branch 'maint'
clarify SNES solvers that default to left or only support left in manual pagesfix SNESSetNPCSide() manual page to indicate the right, not left is the default for most SNES solversReported-by: Lul
clarify SNES solvers that default to left or only support left in manual pagesfix SNESSetNPCSide() manual page to indicate the right, not left is the default for most SNES solversReported-by: Lulu Liu <lulu.liu@kaust.edu.sa>
show more ...
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.
fixed up formatting of references in manualpages to consistent styleReferences:+ 1. - ref1. 2. - ref2- 3. - ref3previously the formatting was varied and ugly
broken nonlinear solver table links fixedReported-by: Andrew McRae <A.T.T.McRae@bath.ac.uk>Also made References: formatting consistent by always listing authors first
Begin renaming the PetscOptions objects for the future where PetscOptions will not be a singleton
fix violations of PETSc style guide: Usage of SETERRQ and NULL
NCG: Added NCG type to viewer
Infrastructure that allows failures in PCSetUp(), PCApply(), MatMult() etc due to, for example a zero pivot or function evaluation outside its domain, to propagate up and become a KSP_DIVERGED inste
Infrastructure that allows failures in PCSetUp(), PCApply(), MatMult() etc due to, for example a zero pivot or function evaluation outside its domain, to propagate up and become a KSP_DIVERGED instead of generating an error that stops the program. In response to Issue 96. This includes failures in MatCreateSNESMF() applications due to domain errors. The mechanism to propagate some errors is by setting Info or Nan into the output vector and using the norm or inner product reductions in SNES or KSP to propagate the error condition to all processes and then handling them immediately after the norm or inner product.This allows, for example, ODE integrators to try again with a smaller time-step if the PCSetUp failed instead of requiring a complete restart of the run with other options.Currently some error conditions, such as function domain error in a line search may not get progated up using the correct SNESConvergedReasonSee src/snes/examples/tests/ex69.c for the handling of several conditions
If the user sets bounds and calls a solver that does not support them, throw an error.
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
simplify option object names
moved PetscOptionsObject from global variable to local variable in functions
manual merge of conflict
cleanup of use of PetscOptionsInt and friends including use of flag final argument
Merge branch 'master' into barry/nonlinearsolvertableConflicts: include/petscsnes.h
the compute Jacobian functions for SNES and TS now do not take a MatStructure flag
completed cleanup of removal of matrix pointers to compute jacobian routinesupdate changes filefixed tao examples to no longer use Mat* arguments for Jacobian/Hessian etc computations
introduced nonlinear solver HTML tablechanged gs and pc in SNES to ngs and npc for consistency and clarity
SNES: Removed now-extraneous fnorm variable from SNESApplyPC()Since c1c75074e128c85b53ed5ce1f9b329b0e4d789b9 the fnorm argumenthas been unused. Fix documentation also.Reported-by: Barry Smith <
SNES: Removed now-extraneous fnorm variable from SNESApplyPC()Since c1c75074e128c85b53ed5ce1f9b329b0e4d789b9 the fnorm argumenthas been unused. Fix documentation also.Reported-by: Barry Smith <bsmith@mcs.anl.gov>
added citations for TS and SNES papers
fix %d that should be %D
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,;()]+, *@PetscNewLog($1,@'
Merge branch 'master' into barry/sawsConflicts: src/ksp/pc/impls/gamg/gamg.c src/sys/classes/viewer/impls/ams/ams.c src/sys/objects/pinit.c
Merge branch 'prbrune/snes-removencgmatrix'Conflicts: src/snes/impls/ncg/snesncg.c
12345678