added distance k MIS MatCoarsen type
Change if () { PetscCall() } three liner and friends to one linersfor i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\
Change if () { PetscCall() } three liner and friends to one linersfor i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$[ ]*}\$?\1if (\2) PetscCall(\3$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; done for i in `git ls-files | grep "\.[hc]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ }else]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$\([ ]*\)} \([- ._+=a-z0-9A-Z>*,()]*);\)\$?\1if (\2) PetscCall(\3$\4\5$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; doneYes, really ugly but Barry still cannot master awkCommit-type: housekeeping
show more ...
Change matrix factor database options that occur in KSP/PC to always use KSP/PC options prefixAdd MatSetOptionsPrefixFactor() and MatAppendOptionsPrefixFactor() to allow controlling the options pre
Change matrix factor database options that occur in KSP/PC to always use KSP/PC options prefixAdd MatSetOptionsPrefixFactor() and MatAppendOptionsPrefixFactor() to allow controlling the options prefixused by factors created from this matrixChange MatSetOptionsPrefix() to no longer affect the options prefix used by factors created from this matrixAs part of the above work the handling of the factor matrix options is now done in code in the factor matrixnot in the code that originates the factor matrixUpdate examples output to the new approach where the factored matrix prefix is set from the KSP/PCMuch of this work was performed by Hong ZhangCommit-type: usability/spend 5h
Updates for vector chapter of manualAdd more discussion of GPUsAdd more example fragmentsCopyeditsCommit-type: docs/spend 2h
Merge remote-tracking branch 'origin/release'
Fix URL for faq printed to screen on failed testingCommit-type: error-checking, bug-fix/spend 5mReported-by: Randall J LeVeque <rjl@uw.edu>
-dm_bind_below tests now use last field of the -log_view dataThis corrects an issue with the previous version of the tests, whichextracted field number 24 (intended to be "GPU Mflop/s"). In somec
-dm_bind_below tests now use last field of the -log_view dataThis corrects an issue with the previous version of the tests, whichextracted field number 24 (intended to be "GPU Mflop/s"). In somecases, there would be no space between columns of the -log_view output,causing awk to extract the wrong value. By telling awk to extract thelast field, it will always use the "GPU %F" measurement, which shouldalways be zero if -dm_bind_below is working correctly.
Merge branch 'stefanozampini/gdsw-mg' into 'main'Implement AGDSW coarse spaces for PCMGSee merge request petsc/petsc!5256
GDSW: add tests
SNES ex62: Reduce test runtime
PCMG: prepare for GDSW
TAO: add support for Eisenstat and Walker trick for KSP
Merge branch 'barry/2022-05-24/add-petsccall-fortran-examples' into 'main'Update all Fortran examples to modern error checking with PetscCallXXX() wrappers around PETSc/MPI function calls.See mer
Merge branch 'barry/2022-05-24/add-petsccall-fortran-examples' into 'main'Update all Fortran examples to modern error checking with PetscCallXXX() wrappers around PETSc/MPI function calls.See merge request petsc/petsc!5271
snes/ex55: do not use namespace Kokkos to avoid conflicts of same math functions from sycl and kokkos
Add modern error checking to rest of Fortran examples/spend 2.5h
SNES ex31: compressible Blasius boundary layer tutorial
snes: add tutorials/ex55.c for Kokkos
Get values of makefile SOURCE etc from the file system instead of makefilesUse SUBMANSEC from include files for manual sections instead of the makefileUnfortunately this has to be one large commi
Get values of makefile SOURCE etc from the file system instead of makefilesUse SUBMANSEC from include files for manual sections instead of the makefileUnfortunately this has to be one large commit since the changes all have to be done at onceCommit-type: docs/spend 10m
remove garbage from makefilesIncluding * unused FLAGS variables * All: lib that did not work * stray blank lines etcCommit-type: housekeeping/spend 1h
Remove extra spaces and unwanted plurals
Merge branch 'jczhang/fix-snes-ex5' into 'main'Revise snes/tutorials/ex5.cSee merge request petsc/petsc!5180
PC_Factor: set prefix from PC in pc->pmat
Remove unneeded alt file
snes/ex5: add break to case 0 and make it less confusing
snes/ex5: move main() to the end, and make other functions static
1...<<11121314151617181920>>...27