A few more codespell fixes
Change the remaining if !defined() header guards that were missed during The Great Formatting 2 to ifndef
source code format changes due to .clang-format changes
Remove parent, parentid, flops, time, mem, and memchildren. Deprecate PetscLogObjectParent(), PetscLogObjectMemory(), and PetscNewLog()
makefile: fix typo - petsckdir.mk -> petscdir.mk
Remove braces from one-liners w/o PetscCall()
Remove braces from one-liners
clang-format: convert PETSc sources to comply with clang-format
fix mixture of all caps and not all caps for SUBMANSEC for DMPLEX and friendsCommit-type: bug-fix, documentation/spend 50m
Merge branch 'knepley/fix-plex-extrude-orientation' into 'main'Knepley/fix plex extrude orientationSee merge request petsc/petsc!5430
Add PetscFunctionBeginUser to all PETSc C/C++ examplesNow the stack frames will contain the main program and the correct line numbers in themgit ls-files | egrep "(tutorials|tests)" | xargs sed -
Add PetscFunctionBeginUser to all PETSc C/C++ examplesNow the stack frames will contain the main program and the correct line numbers in themgit ls-files | egrep "(tutorials|tests)" | xargs sed -i "s?\(PetscCall(PetscInitialize(&argc\)?PetscFunctionBeginUser;\n \1?g"Commit-type: error-checking, testing-fix/spend 15m
show more ...
Cleanup and unify naming of PetscCall routinesCommit-type: housekeeping/spend 10m
Fix test output
Merge remote-tracking branch 'origin/release'
Swarm: Remove debugging print
Merge branch 'wence/petsc-check-do-while' into 'main'Wrap PetscCheck and PetscAssert in do { } while (0)Closes #1199See merge request petsc/petsc!5291
DM: Reorganized periodic coordinates into a separate representation- Split coordinates into two representations- No longer specify the boundary type for periodicity. We can tell if agiven boundary
DM: Reorganized periodic coordinates into a separate representation- Split coordinates into two representations- No longer specify the boundary type for periodicity. We can tell if agiven boundary is periodic by a positive L[d]- Added DMPlexGetCellCoordinates_Internal() to get localized cellcoordinates automatically, and used in plexgeometry.c- Moved coordinate functions into dmcoordinates.c- Moved periodicity functions into dmperiodicity.c
Remove style-incorrect viewer error check
Wrap PetscCheck and PetscAssert in do { } while (0)These macros look like functions, so they should behave likefunctions. Fix up the resulting invalid syntax due to the previousbehaviour of these
Wrap PetscCheck and PetscAssert in do { } while (0)These macros look like functions, so they should behave likefunctions. Fix up the resulting invalid syntax due to the previousbehaviour of these macros being "if (...)statement_without_semicolon". Fixes #1199.
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
PetscObjectFunctionCompose: clean up composed functions at Destroy time
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
Fix compile issues with win32/ifort and --with-shared-libraries
Add modern error checking to rest of Fortran examples/spend 2.5h
12345678910>>...23