fix violations of PETSc style guide: Usage of SETERRQ and NULL
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
show more ...
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*
Merge branch 'knepley/fix-fas-cleanup'* knepley/fix-fas-cleanup: SNES ex12: Added FAS test with GS SNES: Report norm schedule in ASCII viewer SNESGS: Only report norms if norm schedule allows
Merge branch 'knepley/fix-fas-cleanup'* knepley/fix-fas-cleanup: SNES ex12: Added FAS test with GS SNES: Report norm schedule in ASCII viewer SNESGS: Only report norms if norm schedule allows SNESGS: Fixed documentation
SNESGS: Only report norms if norm schedule allows
SNESGS: Fixed documentation
simplify option object names
moved PetscOptionsObject from global variable to local variable in functions
manual merge of conflict
SNESGS: Put in an explanation of the FD GS update
Merge branch 'barry/nonlinearsolvertable'Conflicts: src/snes/impls/gs/gssecant.c
removed unneeded includes in include filesadded findvisibleprivatefunctions for finding symbols in libraries that might not belongremoved a couple of global symbolsnamed spaced a couple of Tao fun
removed unneeded includes in include filesadded findvisibleprivatefunctions for finding symbols in libraries that might not belongremoved a couple of global symbolsnamed spaced a couple of Tao functions
introduced nonlinear solver HTML tablechanged gs and pc in SNES to ngs and npc for consistency and clarity
added citations for TS and SNES papers
completed some percentage of changes from %G format in prints
Merge branch 'prbrune/fas-gscolorsecant'
SNESGS: Fix for uninitialized variable warning in gssecant.c
SNESGS: Fixed build error in gssecant.c due to confusing Scalar with Real.Reported-by: Barry Smith <bsmith@mcs.anl.gov>
SNESGS: Fix for C++ complex in the GSSecantReported-by: Jed Brown <jedbrown@mcs.anl.gov>
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
Parallel convergence synchronization for SNESGS Secant variant.
Added event logging for function evaluations in GSSecant
Added options and improvements to the secant Gauss-Seidel solver
123456