Spring cleaning
Refactored LineSearchBT to PostCheck on lambda*Y instead of the original Y
linesearchbt.c edited online with Bitbucket
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be unif
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be uniformly used or maintained.Thus, remove all .keywords: fields, and a following blank line, if present.This is accomplished with GNU sed (gsed on OS X), with the following commands.*Warning* that this type of command can corrupt a .git directory,so be cautious in reusing or modifying these commands. They first lookfor and delete matching lines with a following line consisting of only whitespace,and then delete any remaining matching lines. find src/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find src/ -type f -exec gsed -i '/keywords:/d' {} + find include/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find include/ -type f -exec gsed -i '/keywords:/d' {} +Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed
show more ...
Fix several of the TODO: items from the testig of examplesStill a variety of problems to resolve including memory corruptionCommit-type: testing-fix
trivial fixes of incorrect formatting in SNES linesearch routinesCommit-type: style-fix
Allow -1 to SNESSetTolerances() and -snes_max_funcs to indicate unlimited number of function evaluationsThis is useful when running with -snes_test_jacobian and other use casesCommit-type: featur
Allow -1 to SNESSetTolerances() and -snes_max_funcs to indicate unlimited number of function evaluationsThis is useful when running with -snes_test_jacobian and other use casesCommit-type: featureReported-by: Hong Zhang <hongzhang@anl.gov>
Improve monitor message for small snorm in line search; it is not really a failureCommit-type: featureFunded-by: IMEXProject: chemistry
Added support to SNESLINESEARCHBT to handle Inf or Nan for larger values of lambdaForce SNESLINESEARCHL2 to set maxstep to the newly computed lambda if the larger lambda producedInf or Nan. This i
Added support to SNESLINESEARCHBT to handle Inf or Nan for larger values of lambdaForce SNESLINESEARCHL2 to set maxstep to the newly computed lambda if the larger lambda producedInf or Nan. This is to prevent cycling where the secant step sets lambda large enough to produceInf or Nan, the lambda gets cut because of this but the secan step again forces the large lambda.Reported-by: Till Martens <till.martens@dlr.de>
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-t
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-to: Andreas Mang <andreas@ices.utexas.edu>
A few corrections for items detected by the clang static analyzerReported-by: clang static analyzer
begun adding more monitoring functionality to SNESLineSearch
Begin renaming the PetscOptions objects for the future where PetscOptions will not be a singleton
Add SNESLineSearchReason to fortran includesAlso truncate names to fit 32 char fortran limitAnd fix typo MATOP_TRANSPOSE_MATM_ULT_NUMER
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
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
fix formatting of some manual pagesspecifically remove use of $ from the middle of parameter or options lists
Provide additional information in manual pages for line search algorithmsReported-by: Patric Farrell <patrick.farrell@maths.ox.ac.uk>
Merge branch 'prbrune/snes-linesearchnormfix'Conflicts: src/snes/linesearch/impls/bt/linesearchbt.c
SNESLINESEARCHBT: PetscInfo() for redundant print that changed example output
SNESLINESEARCHBT: Fix casting to double for monitoring
SNESLINESEARCHBT: Limit use of PetscInfo and use the monitor instead
123456