source code format changes due to .clang-format changes
Transform all header-guards into ifndefs to make clang-format ignore them for preprocessor indentation
No longer a need for a seperate --with-matlab-engine since their are not fragile MATLAB version dependent librariesthat may be work for some users/spend 20m
Merge branch 'haplav/feature-hdf5-group-additions' into 'main'PetscViewerHDF5 group handling additionsSee merge request petsc/petsc!5640
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()
PetscViewerHDF5OpenGroup: add inarg path,employ PetscViewerHDF5GetGroup()
Remove braces from one-liners w/o PetscCall()
Remove braces from one-liners
clang-format: convert PETSc sources to comply with clang-format
Convert setfromoptions methods over to PetscTryTypeMethod() approachFlipped the order of the arguments for the function pointers (*setfromoptions)(PetscOptionItem*,obj); and friends to make them co
Convert setfromoptions methods over to PetscTryTypeMethod() approachFlipped the order of the arguments for the function pointers (*setfromoptions)(PetscOptionItem*,obj); and friends to make them consistent with PetscTryTypeMethod() and all the other methodsCommit-type: refactorization/spend 4h
show more ...
DA: simplify the code to improve readability
DA: fix a bug -- use dims[j+1] to access size of the next dimension in index calculationReported-by: Fackler, Philip <facklerpw@ornl.gov>
Add periodic support for Hypre Struct Grid
Allow for 9 entries in stencil for HypreStructMatrix
Cleanup and unify naming of PetscCall routinesCommit-type: housekeeping/spend 10m
Check for int overflow with -da_refine optionCommit-type: error-checking/spend 5m
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
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.
Fix missing entries/formatting in some manual pagesCommit-type: docs/spend 10m
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
PCMG: prepare for GDSW
Merge remote-tracking branch 'origin/release'
12345678910>>...48