Remove unnecessary braces around one-linersgit grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\
Remove unnecessary braces around one-linersgit grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'
show more ...
Remove extra parenthesesgit grep -lnE "typedef .*\([a-zA-Z0-9]+\)\([a-zA-Z0-9_*, ]*\);" | xargs sed -i '' -E 's#typedef (.*)\(([a-zA-Z0-9]+)\)\(([a-zA-Z0-9_*, ]*)\);#typedef \1 \2\(\3\);#'
Merge remote-tracking branch 'origin/release'
Docs: then -> than
checkbadSource: forbid empty output_file not named output/empty.out
petscdiff: support /dev/null for either file1 or file2
Minor style fix
fortran no semicolon at end of lineRemove all unneeded ; at end of Fortran source code lineAdd checkbadSource to check for semicolon at the end of lines
Merge branch 'release'
rebuildtar: also update tarballs to pypi.org
Add some improvements for making the Fortran bindingsGet prettyprinterAPI.py working againParse argument function names in getAPI() (for future use in Fortran bindings)
Merge branch 'jolivet/housekeeping' into 'main'HousekeepingSee merge request petsc/petsc!8326
Merge branch 'jolivet/feature-pcmatapplytranspose' into 'main'PC: add PCMatApplyTranspose()See merge request petsc/petsc!8322
Delete unused file
Replace egrep with grep -EOn recent systems, egrep will print this on stderr:egrep: warning: egrep is obsolescent; using grep -EThis has been fixed before (petsc/petsc!5674), but crept back in.
Remove PC_ApplyMultiple
Add initial version PetscRegressor, part of the planned machine learning (ML) toolkitCo-authored-by: Mr. Hong Zhang <hongzhang@anl.gov>Co-authored-by: Hansol Suh <hsuh@anl.gov>Co-authored-by: Bar
Add initial version PetscRegressor, part of the planned machine learning (ML) toolkitCo-authored-by: Mr. Hong Zhang <hongzhang@anl.gov>Co-authored-by: Hansol Suh <hsuh@anl.gov>Co-authored-by: Barry Smith <bsmith@petsc.dev>Co-authored-by: Toby Isaac <toby.isaac@gmail.com>Co-authored-by: Satish Balay <balay@mcs.anl.gov>Mr. Hong Zhang developed the petsc4py interface and examples.Hansol Suh provided extensive help with updating the code to the latest PETSc coding guidelines and APIs, some documentation development, getting documentation to build correctly, getting new tests into the test harness, and numerous big fixes plus minor changes.Barry Smith provided extensive feedback and code to get the Fortran interfaces and documentation build working.Toby Isaac provided a fix to prevent breakage with complex-arithmetic builds.Satish Balay provided important help with fixing builds.Thanks-to: Pierre Jolivet <pierre@joliv.et>Thanks-to: Jed Brown <jed@jedbrown.org>Thanks-to: Jose Roman <jroman@dsic.upv.es>Thanks-to: Stefano Zampini <stefano.zampini@gmail.com>Pierre, Jed, Jose, and Stefano provided extremely helpful feedback and suggestions during the merge review process.
Merge branch 'jose/release/update-checkbadsource' into 'release'makefile: modify recent addition to checkbadSourceSee merge request petsc/petsc!8277
Merge branch 'balay/petsc4py-py-ver-check' into 'release'petsc4py: update python version check [min 3.6]See merge request petsc/petsc!8251
makefile: modify recent addition to checkbadSourceThe checkbadSource rule is also used in SLEPc, where the name of somedata files end in .petsc so the check of PETSc capitalization must beskipped
makefile: modify recent addition to checkbadSourceThe checkbadSource rule is also used in SLEPc, where the name of somedata files end in .petsc so the check of PETSc capitalization must beskipped in those cases
Fix wrong case for PETSc
CI: add vermin check for petsc4py
generatefortranstubs: move out of maint (to config/utils)- as its needed in tarball
12345678910>>...48