Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
Remove DIRS variable and unneeded tabs from all makefiles since no longer neededCommit-type: housekeeping
Add static to internal functions
Rename PetscValidPointer -> PetscAssertPointer
DMField: Small fix
Merge branch 'knepley/feature-hybrid-mass' into 'main'Plex: Can now specify a mass weighting to hybrid residualSee merge request petsc/petsc!6210
Plex+FE: Fixed cohesive cell integration- Now PetscFEGeom face data also calculates orientations- Added DMPlexReorderCohesiveSupports()- Now ensure that cohesive cell end cap supports are oriented
Plex+FE: Fixed cohesive cell integration- Now PetscFEGeom face data also calculates orientations- Added DMPlexReorderCohesiveSupports()- Now ensure that cohesive cell end cap supports are oriented- Match quadrature from cohesive end caps with bulk cells
show more ...
non-test and tutorial makefiles only need rules.doc not the full rulesCommit-type: documentation
Only makefiles in the test and tutorial directories need lib/petsc/conf/testCommit-type: housekeeping
Remove now unneeded SOURCE* variables from makefilesCommit-type: configure, housekeeping
Remove empty preprocessor variables
Remove unneeded declarations of LOCDIR from all the makefilesCommit-type:documentation
Make PetscErrorCode a non-discardable enum
source code format changes due to .clang-format changes
Merge branch 'jolivet/fix-implicit-fallthrough' into 'main'Fix -Wimplicit-fallthroughSee merge request petsc/petsc!5655
Fix -Wimplicit-fallthrough
Remove parent, parentid, flops, time, mem, and memchildren. Deprecate PetscLogObjectParent(), PetscLogObjectMemory(), and PetscNewLog()
Remove braces from one-liners w/o PetscCall()
Remove braces from one-liners
clang-format: convert PETSc sources to comply with clang-format
DMField: Always extract a given field from the section
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
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
remove garbage from makefilesIncluding * unused FLAGS variables * All: lib that did not work * stray blank lines etcCommit-type: housekeeping/spend 1h
Remove PetscCheckFalse from use in the src/dm directoryCommit-type: housekeeping/45m
12345