| #
b47eb589
|
| 11-May-2019 |
BarryFSmith <bsmith@mcs.anl.gov> |
Merged in barry/fix-naming-cg-methods (pull request #1650)
Fixed inconsistent naming with CG methods for TR
Approved-by: Matthew Knepley <knepley@gmail.com>
|
| #
05de396f
|
| 10-May-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Fixed inconsistent naming with CG methods for TR
Some of the KSPXXX macros for xxx had an inconsisten KSPCGXXX that was not in the string xxx name The KSPCGXXX was used for KSPCreate_CGXXX() but the
Fixed inconsistent naming with CG methods for TR
Some of the KSPXXX macros for xxx had an inconsisten KSPCGXXX that was not in the string xxx name The KSPCGXXX was used for KSPCreate_CGXXX() but the other method functions were missing the CG, for example, KSPSolve_XXX() (these meant using tags to find functions was cumbersome due to the special cases) Missing Fortran macro
Removed the extraneous CG from the macros and the function usage; now all macros and functions have consistent PETSc style usage that match the string names Added deprecation messages for out-dated use Added new configure check for PETSC_DEPRECATED_MACRO
I decided to remove the CG from the KSPCGXXX instead of adding a cg to the string name because 1) it was not possible to deprecate the string names at compile time, we would have to have runtime warnings. 2) the string names are shorter, 3) the stcg already had a cg (at the end and not the beginning) and that would have to be removed or we'd have the absurd cgstcg. If starting from sratch today not worrying about legacy I would have all the string names begin with cg consistently (and naturally the KSPXXX would have them as well), but for legacy reasons we have the current naming which is not ideal because it does not clearly indicate which methods are CG methods. (We have this problem with other subclasses in PETSc also).
Commit-type: style-fix
show more ...
|
| #
8000f006
|
| 15-Mar-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' of bitbucket.org:petsc/petsc
|
| #
206d7542
|
| 15-Mar-2019 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'stefano_zampini/fix-tao-update-ctx' [PR #1443]
* stefano_zampini/fix-tao-update-ctx: Few small fixes to Tao before the release.
- TAOSetUpdate: change the Update callback In SNES, t
Merge branch 'stefano_zampini/fix-tao-update-ctx' [PR #1443]
* stefano_zampini/fix-tao-update-ctx: Few small fixes to Tao before the release.
- TAOSetUpdate: change the Update callback In SNES, the update function does not uses contexts, and thus it does not appear in the callback prototype. With TAO, since we are explcitily passing the ctx via TAOSetUpdate, we have to give it back to the user when performing the call
- Tao: PETSc does not print warnings
- MatAssembled: there's no point in checking the type a matrix with type not set cannot be assembled
- TaoBNKEstimateActiveSet: Call MatHasOperation() only if the matrix has been assembled the previous logic for MatGetDiagonal still holds. With this fix, the code will not error in case the hessian has not been assembled at this time
show more ...
|
| #
9dcef436
|
| 14-Mar-2019 |
Stefano Zampini <stefano.zampini@gmail.com> |
Tao: PETSc does not print warnings
|
| #
8fcddce6
|
| 14-Mar-2019 |
Stefano Zampini <stefano.zampini@gmail.com> |
TAOSetUpdate: change the Update callback
In SNES, the update function does not uses contexts, and thus it does not appear in the callback prototype With TAO, since we are explcitily passing the ctx
TAOSetUpdate: change the Update callback
In SNES, the update function does not uses contexts, and thus it does not appear in the callback prototype With 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 ...
|
| #
a041468a
|
| 06-Mar-2019 |
Lawrence Mitchell <lawrence@wence.uk> |
Merge branch 'master' into wence/feature-patch-all-at-once
|
| #
470f084c
|
| 14-Feb-2019 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'denera/tao-manual-pages-updates' [PR #1382]
* denera/tao-manual-pages-updates: TaoCreate_XYZ() docstring updates for manual pages
|
| #
3850be85
|
| 13-Feb-2019 |
Alp Dener <adener@anl.gov> |
TaoCreate_XYZ() docstring updates
|
| #
a5a49157
|
| 25-Oct-2018 |
Joseph Pusztay <josephpusztay@Josephs-MacBook-Pro.local> |
Merge branch 'master' into jpusztay/feature-swarm-symplectic-example
|
| #
e901d7f7
|
| 25-Oct-2018 |
Joseph Pusztay <josephpusztay@Josephs-MacBook-Pro.local> |
Merge branch 'master' into jpustay/feature-swarm-example
|
| #
baeaa64e
|
| 25-Oct-2018 |
Joseph Pusztay <josephpu@buffalo.edu> |
Merged petsc/petsc into master
|
| #
df90af56
|
| 24-Oct-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into arcowie-rem/feature-error-logging
* master: (393 commits) Bib: Update reference Mat: Doc fix Bib: Updated ref PetscDS: Doc fixes PC+LU: Do not try to refactor an
Merge branch 'master' into arcowie-rem/feature-error-logging
* master: (393 commits) Bib: Update reference Mat: Doc fix Bib: Updated ref PetscDS: Doc fixes PC+LU: Do not try to refactor an already factored matrix Mat: Small fix for checking and docs Mat: Added MatSetFactorType() - Needed it when making a shell matrix look factored PetscDS: Added PetscDSUpdateBoundary() - Lets the user change the boundary condition single precision produces different convergence history p4est: has a dependency on zlib - so handle it correctly Add -mat_mffd_complex to use the Lyness complex number trick to compute J_u * v instead of differencing. Replace VecWAXPY by VecAXPY if needed Revert "Replace VecWAXPY by VecAXPY if needed" Replace VecWAXPY by VecAXPY if needed MatHermitianTransposeGetMat and MatCreateVecs ex19: Updated test filter to avoid false positives. DM: Improved Global-To-Natural docs Suggested-by: Josh L <ysjosh.lo@gmail.com> Do not build shared openblas when doing static build Upgrade OpenBLAS to 0.3.3 test: add alt output file for changes in OSX-10.14 and Xcode-10.0 [perhaps related to ML] ...
Conflicts: src/vec/is/utils/vsectionis.c
show more ...
|
| #
dfd95116
|
| 20-Oct-2018 |
Pierre Jolivet <pierre.jolivet@enseeiht.fr> |
Merged petsc/petsc into master
|
| #
217b8b62
|
| 17-Oct-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'denera/tao-nls-ntr-ksp-tag-fix' into maint [PR #1174]
* denera/tao-nls-ntr-ksp-tag-fix: Tao: NLS, NTR and NTL options and doc cleanup
|
| #
ff36a751
|
| 17-Oct-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'denera/tao-nls-ntr-ksp-tag-fix' [PR #1174]
* denera/tao-nls-ntr-ksp-tag-fix: Tao: NLS, NTR and NTL options and doc cleanup
|
| #
9d0a60b2
|
| 12-Oct-2018 |
Alp Dener <adener@anl.gov> |
defunct options removed from options database comments
|
| #
7d2ca5d6
|
| 12-Oct-2018 |
Alp Dener <adener@anl.gov> |
code style fixes
|
| #
cbf034f8
|
| 12-Oct-2018 |
Alp Dener <adener@anl.gov> |
replacing strlcat calls with KSP prefix API
|
| #
25e30ca7
|
| 12-Oct-2018 |
Alp Dener <adener@anl.gov> |
Tao KSP prefixes fixed to account for multiple Tao solvers with their own prefixes
|
| #
e0d11e2a
|
| 12-Oct-2018 |
Alp Dener <adener@anl.gov> |
KSP prefix updated for unconstrained Newton solvers
|
| #
bf67e7b2
|
| 03-Oct-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'denera/tao-gauss-newton-wrapper' [PR #1151]
* denera/tao-gauss-newton-wrapper: Regularized Gauss-Newton algorithm/wrapper New BRGN algorithm added for regularized Gauss-Newton formulat
Merge branch 'denera/tao-gauss-newton-wrapper' [PR #1151]
* denera/tao-gauss-newton-wrapper: Regularized Gauss-Newton algorithm/wrapper New BRGN algorithm added for regularized Gauss-Newton formulation. This algorithm is a thin wrapper that relies on TaoSetResidualRoutine() and TaoSetResidualJacobianRoutine() interfaces to accept the residual and Jacobian associated with a least-squares problem, and then construct the internal objective, gradient and Hessian evaluation functions for the regularized problem formulation. Currently only Tikhonov regularization is available, but other smooth regularizers are planned in the future. The resulting regularized problem is passed onto an existing bound-constrained algorithm (e.g.: BQNLS or BNTL), controlled by the -tao_brgn_subsolver flag.
show more ...
|
| #
e1e80dc8
|
| 13-Sep-2018 |
Alp Dener <alp.dener@me.com> |
Regularization changed to x-x_old, user hook added into optimization loops, eliminated explicit MatTransposeMatMult option in Hessian computation
|
| #
c86da64b
|
| 06-Sep-2018 |
Joseph Pusztay <josephpu@buffalo.edu> |
Merged petsc/petsc into master
|
| #
3b16a644
|
| 03-Sep-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/fix-superdm-is
* master: (455 commits) bib: spell out some names for format consistency with related refs bib: two 2018 pubs now appeared cleaning up analyze
Merge branch 'master' into knepley/fix-superdm-is
* master: (455 commits) bib: spell out some names for format consistency with related refs bib: two 2018 pubs now appeared cleaning up analyzer warnings compile fixes (workarround PGI bug?): undoing the branch's changes to leastsquares outputs more fixes for complex builds compile error fix for complex builds 1) Look for 64 bit integer MKL BLAS if 64 bit indices are used with PETSc 2) Fix Pardiso code to only compile pardiso_init64 when needed, otherwise can generate warnings/errors jenkins: run 'cleantest' before 'allgtest-tap' - an attempt to fix errors of type: cuda: protect cuda includes fix cuda warnings. fix complex compile error Revert "Improved polymorphism of interfaces for MatSetValuesBlocked()" Bib: Updated ref Doc: More function documentation petscvec: move PetscSFCreateFromZero from vscat to vec sources Fixed an uninitialized variable and got rid of an unused one. memleak fixed and output files updated fixing build errors on some archs Mat: obey options prefix of Mat in MatNullSpaceTest ...
Conflicts: include/petsc/private/dmpleximpl.h src/dm/interface/dmi.c
show more ...
|