TaoComputeBounds fixed so that bounded algorithms can work on unconstrained problems with default infinity bounds
Bounded NLS working on plate2
Box constraint projections added to BNLS, and it still works for unconstrained problems. Bounded problems are not yet tested.
trust radius update kernel isolated
Unconstrained NLS transferred to bounded folder and structured to support code-reuse with other Newton-Krylov methods
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/
show more ...
Merge branch 'denera/tao-bounded-nlcg' [PR #898]* denera/tao-bounded-nlcg:Extension of the existing unconstrained NCG with gradient projections and additional resetting safeguards required to guar
Merge branch 'denera/tao-bounded-nlcg' [PR #898]* denera/tao-bounded-nlcg:Extension of the existing unconstrained NCG with gradient projections and additional resetting safeguards required to guarantee convergence.
added newline to header in order to resolve solaris compile warning
Remove HTML output files that never should have been committed
BNCG algorithm added and tested
projected gradient code fixed to obey recent convergence test changed
norm update bug fixed in GPGC, test output reverted
fix propagated throughout, convergence tolerance bug discovered and fixed in toy problem
Convergence check separated from TaoMonitor. Changed propagated to unconstrained algorithms. Untested.
Added newline at the end of file to squash a solaris build warning
convergence tolerances loosened for PGD tests, outputs updated
projected gradient descent algorithm added and tested (squashed)
test files updated for latest changed
Test outputs updated
Wrapping up for a pull request
Begin refactorization of MatShell to make the code more straightforward and extensibleIntroduce MatSetOperation() for changing operations on non-MATSHELLsIntroduce two modes for MATSHELL 1) MAT
Begin refactorization of MatShell to make the code more straightforward and extensibleIntroduce MatSetOperation() for changing operations on non-MATSHELLsIntroduce two modes for MATSHELL 1) MATSHELL manages scalings and shifts automatically 2) Creator of MATSHELL can provide their own code for managing scaling and shifts This is used by MatCreateADA() and MatCreateSubMatrixFree()The extensibility is so that a MatShell can be easily used in as many places as possible as other matrices,for example, /* A = diag(u) G */ ierr = MatCopy(appctx->SEMop.grad,A,SAME_NONZERO_PATTERN);CHKERRQ(ierr); ierr = MatDiagonalScale(A,globalin,NULL);CHKERRQ(ierr); /* A = A + diag(Gu) */ ierr = VecDuplicate(globalin,&Gglobalin);CHKERRQ(ierr); ierr = MatMult(appctx->SEMop.grad,globalin,Gglobalin);CHKERRQ(ierr); ierr = MatDiagonalSet(A,Gglobalin,ADD_VALUES);CHKERRQ(ierr); ierr = VecDestroy(&Gglobalin);CHKERRQ(ierr); /* A = K - A */ ierr = MatScale(A,-1.0);CHKERRQ(ierr); ierr = MatAXPY(A,1.0,appctx->SEMop.keptstiff,SAME_NONZERO_PATTERN);Commit-type: feature
Merge branch 'barry/fortran-initialize-objects'
Make initializing PETSc objects in Fortran by default, remove PetscObjects in Fortran examples from common blocks since conflicts with initialized types in F90Commit-type: testing-fix,featureThank
Make initializing PETSc objects in Fortran by default, remove PetscObjects in Fortran examples from common blocks since conflicts with initialized types in F90Commit-type: testing-fix,featureThanks-to: Randall Mackie <rlmackie862@gmail.com>
manual merge because our work flow for petsc/git SUCKSSSSSCommit-type: i.e. bug-fix, portability-fix, testing-fix,style-fix, feature, documentation, exampleFunded-by:Project:Time: hoursRepo
manual merge because our work flow for petsc/git SUCKSSSSSCommit-type: i.e. bug-fix, portability-fix, testing-fix,style-fix, feature, documentation, exampleFunded-by:Project:Time: hoursReported-by:Thanks-to:Development Tools: Vim, Emacs, Eclipse
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
1...<<11121314151617181920