applied attribute format fixes to mat headers
Fix manpages: Input/Output Parameter --> Parameters
Fix spelling errors in manpages and comments
Merge branch 'barry/2021-05-06/add-snes-picard-mf' into 'main'Add support for using -snes_mf_operator with SNESSetPicard()See merge request petsc/petsc!3962
Remove all double blank lines from sourceCommit-type: petsc-style/2h
Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX f
Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX for validity. Automatically generates diff files for problems with a known solution.
show more ...
Add support for using -snes_mf_operator with SNESSetPicard()Applies Newton's method using matrix-free application of the true Jacobian, preconditioned by user provided Picard matrixThis involved
Add support for using -snes_mf_operator with SNESSetPicard()Applies Newton's method using matrix-free application of the true Jacobian, preconditioned by user provided Picard matrixThis involved adding (*computemffunction)(SNES,Vec,Vec,void*); to be used by the MatCreateSNESMF() operator when it is set and routines to work with the new function.The implementation requires maintaining a copy of the matrix that is filled by the users routine that computes the matrix at each matrix-vector product. The original matrix is used for constructing the preconditioner and therefor cannot be overwritten.Also dropped the requirement that the user provide a right hand side function to SNESSetPicard()Commit-type: feature, example/spend 8hThanks-to: Saransh Saxena <saransh.saxena5571@gmail.com>
All MPIU_ functions except MPIU_File return MPI error codes for checkingUpdate checkbadSource to find use of CHKERRQ with MPIU_ functionsCommit-type: i.e. error-checking, optimization, bug-fix, p
All MPIU_ functions except MPIU_File return MPI error codes for checkingUpdate checkbadSource to find use of CHKERRQ with MPIU_ functionsCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded-by:Project:Time: hoursReported-by:Thanks-to:Development Tools: Vim, Emacs, Eclipse
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
Mat: Replace 0 -> NULL for pointers
Single petscdir.mk
build: add more support for not needing to set PETSC_DIR yet build with PETSc, also support for GNU make to directly use "make test" instead of "make -f gmakefile.test"Still needs -include ../petsc
build: add more support for not needing to set PETSC_DIR yet build with PETSc, also support for GNU make to directly use "make test" instead of "make -f gmakefile.test"Still needs -include ../petscdir.mk in many of the makefilesStill needs the link for ../petscdir.mk in many directoriesGNUMakefile: call legacy makefile recursively instead of including itGNUMakefile: promote default "all" target; "libs" builds libpetsc*GNUMakefile: If gnumake < 4.2 prefer makefile wrapper interface over direct gmakefile interface to avoid the following warningsgmakefile.test:92: arch-ci-linux-cxx-cmplx-pkgs-64idx/tests/testfiles: No such file or directorygmakefile:67: arch-ci-linux-cxx-cmplx-pkgs-64idx/lib/petsc/conf/files: No such file or directoryCommit-type: testing-fix, feature, usabilityThanks-to: Jed Brown jed@jedbrown.org
Added functionality to selectively filter PetscInfo() output based on calling class tomimic some OS system logs. New functionality includes:- Filter for a set of classes- Filter out a set of class
Added functionality to selectively filter PetscInfo() output based on calling class tomimic some OS system logs. New functionality includes:- Filter for a set of classes- Filter out a set of classes- Filter for MPI/PETSC_COMM_SELF- Filter for anything not on MPI/PETSC_COMM_SELF- Writing PetscInfo() output to new file- Appending output to existing PetscInfo() file- Any combination of the aboveCredit to Vaclav Hapla for raising the initial issue, helping design the eventual API, andsubstantially assisting in debugging.
Merge remote-tracking branch 'origin/maint'
MatMFFD: use MatShellGetContext() instead of 'mat->data' as per 789d8953c494fa776dfe31580b7406ef9b490712Reported-by: "Nourgaliev, Robert Nr" <nourgaliev1@llnl.gov>
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
Fix more typos and add missing examples
minor
Fix bugs in MATMFFD related to scaling and shifting1) refactored MATMFFD to use MATSHELL and inherit all of its tested handling of shifting and scaling2) added example testing MATHSHELL handling o
Fix bugs in MATMFFD related to scaling and shifting1) refactored MATMFFD to use MATSHELL and inherit all of its tested handling of shifting and scaling2) added example testing MATHSHELL handling of multiple shifts and scales3) added test of MATMFFD for non-square matrix; from Stefano Zampini <stefano.zampini@gmail.com>4) refactor MATMFFD and MATSHELL to properly use PetscUseMethod() instead of type comparisons5) changed handling of -snes_mf so preconditioning is not automatically turned off if -snes_mf is used6) fixed test cases that now need -pc_type none due to change 57) added test case for MatGetDiagonal() for MATMFFD8) added error checking of use of several MATSHELL operations for non-congruent matrices9) SNESView now prints additional information about how the Jacobian is computedCommit-type: bug-fix, testing-fix, style-fix, featureReported-by: Stefano Zampini <stefano.zampini@gmail.com>
Merge from doc-fixes branch
Fixes for doctext update
Merged in stefano_zampini/fix-mffd (pull request #1718)Stefano zampini/fix mffd
MATMFFD: partially revert commit 590626ec7beThat commit broke the case when MFFD is for a rectangular matrix
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be unif
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be uniformly used or maintained.Thus, remove all .keywords: fields, and a following blank line, if present.This is accomplished with GNU sed (gsed on OS X), with the following commands.*Warning* that this type of command can corrupt a .git directory,so be cautious in reusing or modifying these commands. They first lookfor and delete matching lines with a following line consisting of only whitespace,and then delete any remaining matching lines. find src/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find src/ -type f -exec gsed -i '/keywords:/d' {} + find include/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find include/ -type f -exec gsed -i '/keywords:/d' {} +Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed
Improve manual pages for VecAXPY() and related functionsAdd cross links between the manual pagesProvide a table of related methodsNote special optimized cases in the manual pagesRemove unneeded
Improve manual pages for VecAXPY() and related functionsAdd cross links between the manual pagesProvide a table of related methodsNote special optimized cases in the manual pagesRemove unneeded check of input parameters before call to VecAXPBY()Commit-type: documentation
12345678910>>...13