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 ...
Do some housekeeping and add missing CHKERRQ calls
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
logical order bug in diagbrdn update fixed, tests updated again
test files updated to account for minor roundoff differences
Fixed a few more things. Added back in recycling. Added the ability for the user to set their own preconditioner with TaoBNCGSetH0.Removed the experimental Steffenson acceleration feature from this
Fixed a few more things. Added back in recycling. Added the ability for the user to set their own preconditioner with TaoBNCGSetH0.Removed the experimental Steffenson acceleration feature from this branch.Fixed everything in Todd's code walkthrough except turning the VecDots into VecDotBegin, VecDotEnd combinationsForgot to also remove xi from DiagBrdn. That is gone now too.Updated the TAO manual so far.Replaced VecDot with VecDotBegin and VecDotEnd in DiagBrdn.Addressing an uninitialized variable problem after merging with another branch.Changed the PetscMaxes back into zero checks; they were degrading the solvers.Whatever was broken is now fixed. Need to test all methods officially again. diagbrdn.c was reset to before Alp and Todd's comments were fixed.Fixed m=1 in diagbrdn.cTried changing the PetscMax bounds to 1.e-10 from 1.e-8Bring it back to 1.e-8 since it did a little worse. Worth tinkering with.Changed the last couple too-specific error checks on scaling terms in DiagBrdn.Changed data structure in bncg.h to put IS data type right after Vec.Removed alpha==-1.0 from DiagBrdn. Updated TAO manual to reflect name changes and added a parameter to it not added before.Added a KSPInitialize in BNCG_CreateHad to fix some logic with recycling.Minor bugfix.Fixed the recycle off-by-one bug from last commit.Fixed issues regarding complex numbers.Fix call to PetscIsInfOrNan.Managed to complete many of Todd's code walkthrough pt. 2 comments.Fixed things from Todd's code walkthrough. Primarily allowed more user options and added some comments on functionality.Changed default behavior of KouDai.Changed CG_Types to not have an underscore.
Missing CHKERRQ(); Mostly in Tao codeCommit-type: testing-fix,style-fixReported-by: clang static analyzer
reverting back to using shared MatSolve interface
Custom solve function for LMVM matrices, disconnected from the common MatSolve interface
fixing output files
LMVM matrix changes propaged to TAO algorithms and test outputs updated
Name refactoring for LMVM matrices
derived LMVM types added and moved into the KSP package
Relative tolerancing in tests changed to absolute
Tests now run to 1e-5 gatol at the lowest to ensure that output files are consistent across single and double precision
fix: small change to to max_it convergence check changed some iteration-limited test outputs
Merge branch 'stefano_zampini/add-pod-test'
KSPGUESSPOD: added support for transpose solveadded test run for TAO hyperbolic example
fix propagated throughout, convergence tolerance bug discovered and fixed in toy problem
Wrapping up for a pull request
Convert TaoDefaultMonitor() to TaoMonitorDefault() to match other PETSc monitorsand have it format the output in a similar way with the name of the solver TAO.Commit-type: style-fix, feature, doc
Convert TaoDefaultMonitor() to TaoMonitorDefault() to match other PETSc monitorsand have it format the output in a similar way with the name of the solver TAO.Commit-type: style-fix, feature, documentation
Mark most TAO examples as not runable from complex.Commit-type: portability-fix, testing-fix
converted last Tao example directory to new test harnessCommit-type: testing-fix
12345678