petscviewer: fix the fortran bindings of XXXViewFromOptions when called with obj=PETSC_NULL_XXX
Turn on checkbadSource test to generate an error when found; fix all source code that causes errorsCommit-type: portability-fix, testing-fix, style-fix, feature, maintainability/spend 1.5h
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
prototype for ViewFromOptions macro-->functions
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 ...
Merge branch 'barry/fix-check-ierr-before-freechar/maint' [PR #1220]* barry/fix-check-ierr-before-freechar/maint:Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR()Otherwis
Merge branch 'barry/fix-check-ierr-before-freechar/maint' [PR #1220]* barry/fix-check-ierr-before-freechar/maint:Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR()Otherwise the ierr is overwritten by the FREECHAR() thus returning a zero error code when it should not
Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR()Otherwise the ierr is overwritten by the FREECHAR() thus returning a zero error code when it should notCommit-type: bug-f
Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR()Otherwise the ierr is overwritten by the FREECHAR() thus returning a zero error code when it should notCommit-type: bug-fixReported-by: Tim Steinhoff <kandanovian@gmail.com>
Fixes applied per Lisandro's comments on commit 737f463:- Order of INCREF and destroy operations fixed, and other Tao setter functions reviewed for correctness.- Function name changed from `TaoSetR
Fixes applied per Lisandro's comments on commit 737f463:- Order of INCREF and destroy operations fixed, and other Tao setter functions reviewed for correctness.- Function name changed from `TaoSetResidualJacobianRoutine()` to `TaoSetJacobianResidualRoutine()` to match the pattern of other Jacobian setters.
Regularization changed to x-x_old, user hook added into optimization loops, eliminated explicit MatTransposeMatMult option in Hessian computation
Added the gauss-newton algorithm wrapper
should not pass user contexts through CHKFORTRANNULLOBJECT in Fortran stubsCommit-type: bug-fixReported-by: jenkins
Fixed segfault for user-defined monitor destroy function in Fortran.Tao custom Fortran interfaces overhauled to use Petsc callback functions instead of handling function pointers manually.Duplica
Fixed segfault for user-defined monitor destroy function in Fortran.Tao custom Fortran interfaces overhauled to use Petsc callback functions instead of handling function pointers manually.Duplicate monitor handling corrected in TaoSetMonitor() routine.
Fortran: Add error checking for incorrect PETSC_NULL_XXX argument when expecting functionCommit-type: enhancementFunded-by: ECPProject: ECP/PETScTime: .8 hoursReported-by: Praveen C <cpraveen@
Fortran: Add error checking for incorrect PETSC_NULL_XXX argument when expecting functionCommit-type: enhancementFunded-by: ECPProject: ECP/PETScTime: .8 hoursReported-by: Praveen C <cpraveen@gmail.com>
Minor cleanup, remove some outdated code, remove unneeded constructs, improve manual pages slightly, add missing test caseTime: 2.5 hours
Fix some code that produced valgrind errors in Fortran code1) fix some incorrect custom Fortran interfaces2) remove CHKFORTRANNULLOBJECT(ctx); checks which serve no purpose and produce false va
Fix some code that produced valgrind errors in Fortran code1) fix some incorrect custom Fortran interfaces2) remove CHKFORTRANNULLOBJECT(ctx); checks which serve no purpose and produce false valgrind errors3) initialize some PETSc objects in Fortran examples to prevent false valgrind errorsReported-by: nightly tests
TaoSetMonitor: pass the context correctly from Fortran
Tao Fortran stubs not properly marked with PETSC_EXTERN so would not work with multiple libraries and visibility turned onFixed a couple more unneccessarily visible functions
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
manual merge of conflict
separate total TAO ksp count from per-iter count
removed MatStructure arguments from Tao
completed cleanup of removal of matrix pointers to compute jacobian routinesupdate changes filefixed tao examples to no longer use Mat* arguments for Jacobian/Hessian etc computations
changed TaoSolver usage to Tao
removed taoinitialize and taofinalize
added petsc to front of tao public includes
123