Finished converting the XXXMonitorSetFromOptions() to use PetscViewerAndFormat objectTime: .5 hours
Deprecate PetscViewerSetFormat() since it better to use PetscViewerPush/PopFormat() and usingPetscViewerSetFormat() can lead to confusing situations for users when later viewers do not recognize the
Deprecate PetscViewerSetFormat() since it better to use PetscViewerPush/PopFormat() and usingPetscViewerSetFormat() can lead to confusing situations for users when later viewers do not recognize the setformat and thus do not produce any information.Reported-by: Jed Brown <jed@jedbrown.org>
show more ...
begun adding more monitoring functionality to SNESLineSearch
different initial conditions for Shashi
Options: pass PetscOptions* to options handlersPetscObjectAddOptionsHandler now takes an event handler that includes aPetscOptions argument. PetscObjectProcessOptionsHandlers requires thisas inp
Options: pass PetscOptions* to options handlersPetscObjectAddOptionsHandler now takes an event handler that includes aPetscOptions argument. PetscObjectProcessOptionsHandlers requires thisas input.
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.
Merge branch 'pefarrell/linesearch-nleqerr'* pefarrell/linesearch-nleqerr: SNES: Fixed makefile for nleqerr linesearch Make the citation data static. Add a test based on ex15 Eliminate an u
Merge branch 'pefarrell/linesearch-nleqerr'* pefarrell/linesearch-nleqerr: SNES: Fixed makefile for nleqerr linesearch Make the citation data static. Add a test based on ex15 Eliminate an unnecessary C99ism Implement Barry and Matt's suggestions. Implement the NLEQ-ERR linesearch of Deuflhard (2011).
typo in manual page name
Fixed errors in manual page documentation including formating.Fixed rank argument for DMCreateRedundant() to be PetscMPIIntReported-by: Dave May <dave.mayhem23@gmail.com>
moved PetscOptionsObject from global variable to local variable in functions
manual merge of conflict
Implement the NLEQ-ERR linesearch of Deuflhard (2011).
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.
Merge branch 'barry/fix-options-default'Conflicts: src/ksp/ksp/examples/tutorials/ex52.c
update use of PetscOptionsBool() to not rely on default setting automatically
cleanup of use of PetscOptionsInt and friends including use of flag final argument
MatGetVecs() and KSPGetVecs() replaced with MatCreateVecs() and KSPCreateVecs()since they are creators not getters
with with -> with the the -> the
cleanup the function prototype representation for pre and post linesearch checking functions and improve documentationminor cleanup of documentation of several basic SNES functions
SNESLineSearch: Fix documentation levels to highlight standard use caseReported-by: Barry Smith <bsmith@mcs.anl.gov>
match Jed's capitalization for Acos and Asin
add quad support for acos,asin,tgamma
1234567891011