SNESLINESEARCHBT: Fixed missing case of setting the norms.Reported-by: Jay Jay Billings <jayjaybillings@gmail.com>
fix %d that should be %D
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,;()]+, *@PetscNewLog($1,@'
show more ...
Merge branch 'prbrune/snes-linesearchnormfix'
SNESLINESEARCHBT: Set the norms when exiting early due to negligible step.reported-by: Jay Jay Billings <billingsjj@ornl.gov>
Merge branch 'maint'
Merge branch 'prbrune/snes-fixvilinesearchnorms' into maintConflicts: src/snes/linesearch/impls/bt/linesearchbt.c
Fix computation of squared-norm in for the bt linesearch in the VIRS snes case
NEWTONLS works with preconditioned and unpreconditioned functions.ASPIN (or other left-preconditioned Newton methods) can be run witheither the usual function or the preconditioned function monito
NEWTONLS works with preconditioned and unpreconditioned functions.ASPIN (or other left-preconditioned Newton methods) can be run witheither the usual function or the preconditioned function monitoringconvergence.
Change all PETSC_EXTERN_C to PETSC_EXTERNHg-commit: 8d2ebbb193fb583bccc64015e35640c4e08c3426
line search should not seterrq() on Nan or Inf but rather set line search failed and returnHg-commit: 97a95f7942dc812c40012e0b79526d52788f3843
added PetscObjectComm() and used it to replace (((PetscObject)obj)->comm)Hg-commit: 3da37c458124ad48ae939f4e9823e4430ee0b8be
removed PETSC_NULL from C and Fortran (except declaration in C for backward compatibility). Kept PETSC_NULL_xxx for FortranFixed a few bugs where PETSC_NULL had been used incorrectly.Hg-commit: 05
removed PETSC_NULL from C and Fortran (except declaration in C for backward compatibility). Kept PETSC_NULL_xxx for FortranFixed a few bugs where PETSC_NULL had been used incorrectly.Hg-commit: 054705a517d7f4388a8a084415d7478cbe95dff4
Uncrustified src/snes/*Hg-commit: 0b89af55379cc95040ca47c4c1f8000d6a978df2
Reformatted: "Do not put a blank line immediately before PetscFunctionReturn;"Hg-commit: c8a41c455986e732d0ea0513d7162a54daffaece
generally SETERRQXX does not belong on its own linealso fixed formatting issues in dgmres.c (ugh)Hg-commit: e3fffdf67cd55655a36785a0abc7c197e98ca7cd
Updated style to obey 'Do not put a blank line immediately after PetscFunctionBegin;'Hg-commit: 5408b9ce2402ad624305b7a7a323ab3ae5e0c3f1
Carefully removed \t from src/snes/*Hg-commit: 3f1255727749f701e123e1dcb12169d3fb72aa33
didn't like that style, conflicts too much with PETSc coding styleHg-commit: ae5b22e18a5720dd954c4911c2dc6db2d4127741
removed SNESObjective typedef insteading using SNESObjectiveFunction manual pageHg-commit: 6dc0a8207aee7ba626ff7b41cca0db5faed5c2ae
introduced VecDotRealPart() to eliminate ugly #ifdef complex and clarify codesprobably messed up in a place or to.Maybe should also introduce VecDotRealPartBegin/End()Hg-commit: a3e35591db7a18b7d
introduced VecDotRealPart() to eliminate ugly #ifdef complex and clarify codesprobably messed up in a place or to.Maybe should also introduce VecDotRealPartBegin/End()Hg-commit: a3e35591db7a18b7dbf064354e248e6b5bd361f7
fixed rest of mising CHKERRQ() fixed a few unused but set variablesHg-commit: 4acc0881334451e4d784ba0aa3b37fae2f983d1f
reemove OBJSC and OBJSF from invididual makefiles and auto-define in conf/variablesHg-commit: 2f01c17f3c19dc4b89aaf306cfd60a12312c270d
Slightly cleaner g=gnorm^2Hg-commit: 7660b2ea11d5a8cf391dec9a800d5f61ac34b456
Define g = gnorm^2 in case of VIHg-commit: 65f14b9eadb6e857ab4a6ceb0b6b9691dcd910e8
123456