Revert the function name where it is referenced
TAOSetUpdate: change the Update callbackIn SNES, the update function does not uses contexts, and thus it does not appear in the callback prototypeWith TAO, since we are explcitily passing the ctx
TAOSetUpdate: change the Update callbackIn SNES, the update function does not uses contexts, and thus it does not appear in the callback prototypeWith TAO, since we are explcitily passing the ctx via TAOSetUpdate, we have to give it back to the user when performing the call
show more ...
Regularization changed to x-x_old, user hook added into optimization loops, eliminated explicit MatTransposeMatMult option in Hessian computation
Changed VecScatterCreate() to take a communicator and return scatter as other first class PETSc objects do.Changed old VecScatterCreate() to VecScatterCreateWithData()Completed basic refactorizati
Changed VecScatterCreate() to take a communicator and return scatter as other first class PETSc objects do.Changed old VecScatterCreate() to VecScatterCreateWithData()Completed basic refactorization of VecScatter code, ready for new implementations to be added.(There is still some code duplication between the VecScatter MPI1 and MPI3 code but it can be fixed at anytime without requiring changes to the VecScatter API.Part 5 of a refactorization of VecScatter to be treated as a first class PETSc objectCommit-type: style-fix
initialize variables so that static analyzer doesn't mistakenly think they are used uninitialized.Commit-type: testing-fixReported-by: clang static analyzer
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \(
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \( -name "*.c" -or -name "*.h" -or -name "*.cxx" \) | xargs gsed -i 's/Notes\s*:\s*\(\w.*\)/Notes:\n \1/'This adds a newline and 4 spaces whenever "Notes:" is followed by any "word" character, in any .c, .h, or .cxx file in src/ or include/
fix propagated throughout, convergence tolerance bug discovered and fixed in toy problem
Wrapping up for a pull request
Fixes for use of PetscMallocN() with const type inputMicrosoft compilers warn about incompatiblity between pointers passed to new PetscMallocA() functionCommit-type: portability-fix, testing-fix
Fixes for use of PetscMallocN() with const type inputMicrosoft compilers warn about incompatiblity between pointers passed to new PetscMallocA() functionCommit-type: portability-fix, testing-fixReported-by: nightly tests
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
Merge branch 'master' into barry/petscoptions-object
Begin renaming the PetscOptions objects for the future where PetscOptions will not be a singleton
remove fatol and frtol concept from Tao; they are redundant and confusing compared to other tolerances
add boolean guards to check if tao default options have been changed
Set the options prefix correctly on tao->ksp and tao->linesearch.
add accessors to tao iteration counter, tao total iteration count
fixed missing CHKERRQ() detected by clang's --analyze
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
simplify option object names
updated new XXXSetFromOptions_YYY() methods to take PetscOptionsObjectType
manual merge of conflict
convert some PetscMalloc() to PetscMalloc1()remove unneeded () in first argument to PetscMalloc/Calloc1()fixes for MATLAB examples
Merge branch 'barry/fix-options-default'Conflicts: src/ksp/ksp/examples/tutorials/ex52.c
cleanup of use of PetscOptionsInt and friends including use of flag final argument
123456789