Merge branch 'maint'
missing crosslinks between manual pagesMatMFFDCheckPositivity() mistakenly called MatMFFDSetCheckPositivity() in multiple placesTime: . 15 hoursThanks-to: <kyungjun.choi92@gmail.com>
Merge branch 'barry/fix-source-clang'
Added static to a variety of KSP and SNES methodsFound agmres directory not listed in the makefile so added it and fixed some codes to get it to compile
A few corrections for items detected by the clang static analyzerReported-by: clang static analyzer
The deprecated -log_summary_exclude was still being used when it should have been -log_excludeReported-by: Jose E. Roman <jroman@dsic.upv.es>
fix complex compile error
Fixes found by clang static analyzermostly set but unused variables plus a couple of true bugs
More decreasing visibility of symbols from outside librariesAlso fix a few bugs related to having multiple PETSc libraries
rename MatSetErrorIfFPE -> MatSetErrorIfFailure
Complete update to new PetscOptions interface
Begin renaming the PetscOptions objects for the future where PetscOptions will not be a singleton
Merge branch 'barry/add-mpiu_allreduce'
Introduce MPIU_Allreduce() to detect cases where all processes that share an MPI comm do not call the same sequence of MPI_Allreduce()This is a bug that can be difficult to track down.Suggested-by
Introduce MPIU_Allreduce() to detect cases where all processes that share an MPI comm do not call the same sequence of MPI_Allreduce()This is a bug that can be difficult to track down.Suggested-by: Eric Chamberland <Eric.Chamberland@giref.ulaval.ca>Suggested-by: Patrick Lacasse <placasse@giref.ulaval.ca>
show more ...
Added missing MatMissingDiagonal() implementations
MatMFFD doesn't need to have its own null space management
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
PetscHeaderCreate: Shorten argument list and optimize memory allocation* Remove type arguments from the macro* Use a single memory allocation call instead of three
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
Merge branch 'tisaac/simplify-register-all'Removed the XXXRegisterAll() functions from the public interface. These should now only be handled by the package intialization functions.
simplify option object names
moved PetscOptionsObject from global variable to local variable in functions
manual merge of conflict
Remove XXXRegisterAll() from public interfaceThis means we are relying on packages to be well behaved, to setthemselves up properly. Passes testexamples in my builds (haven't triedcomplex).
Remove XXXRegisterAllCalled from public interface.All XXXRegisterAll() methods are now idempotent, so a boolean indicatingwhether they can be called or not is no longer necessary.
12345678910>>...13