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 ...
Only apply the SNES QN Powell condition after the first full iteration of L-BFGSDoesn't seem to make sense to apply a restart before one has even started the BFGS processNot sure if maybe it shoul
Only apply the SNES QN Powell condition after the first full iteration of L-BFGSDoesn't seem to make sense to apply a restart before one has even started the BFGS processNot sure if maybe it should require two iterations before restartAlso fix -snes_qn_monitor for 64 bit integers and quad precisionRemove unused Powell criteria (downhill) and make the naming consistent in docsAdded additional information in -snes_qn_monitorReported-by: Andrew Ho <andrewh0@uw.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.
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
improve manual page slightly for clarity
Merged in anriseth/petsc/anriseth/set-vec-sol-if-null (pull request #339)Make sure vec_sol is not NULL before running VecDuplicateVecs
Make sure vec_sol is not NULL before running VecDuplicateVecs
Set KSPOperators after updating Jacobian
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*
fixes and additions to SNESQM manual pagesReported-by: Jonas Mairhofer <mairhofer@itt.uni-stuttgart.de>
simplify option object names
moved PetscOptionsObject from global variable to local variable in functions
manual merge of conflict
fixed documentation for PetscOptionsXXX that refered to "default value" when they really mean current valuealso fixed usage of PetscOptionsEnum() with regards to current value in several callsRepo
fixed documentation for PetscOptionsXXX that refered to "default value" when they really mean current valuealso fixed usage of PetscOptionsEnum() with regards to current value in several callsReported-by: Ed Bueler <elbueler@alaska.edu>
Remove SNESGetFunctionNorm() and SNESSetFunctionNorm().The intended replacement is:1. SNESGetFunction()2. VecNorm()snes->norm was going stale, causing some confusion among users. Thisway, the
Remove SNESGetFunctionNorm() and SNESSetFunctionNorm().The intended replacement is:1. SNESGetFunction()2. VecNorm()snes->norm was going stale, causing some confusion among users. Thisway, there's no confusion.
SNESQN: Fix manual for SNESQNSetRestartTypeReported-by: Patrick Farrell <patrick.farrell@maths.ox.ac.uk>
Merge branch 'master' into barry/nonlinearsolvertableConflicts: include/petscsnes.h
the compute Jacobian functions for SNES and TS now do not take a MatStructure flag
12345678910