Merge branch 'hongzh/improve-fd-coloring' into 'main'Add MatEliminateZerosSee merge request petsc/petsc!5816
Add MatEliminateZeros
Merge remote-tracking branch 'origin/release'
Docs: remove or add space before back tick
Vec CUPM implementation to replace old CUDA and HIP versions
Add HIP support to Mat class in PETScCo-authored-by: Justin Chang <jychang48@gmail.com>Fixed-by: Jacob Faibussowitsch <jacob.fai@gmail.com>Fixed-by: Junchao Zhang <jczhang@mcs.anl.gov>Fixed-by:
Add HIP support to Mat class in PETScCo-authored-by: Justin Chang <jychang48@gmail.com>Fixed-by: Jacob Faibussowitsch <jacob.fai@gmail.com>Fixed-by: Junchao Zhang <jczhang@mcs.anl.gov>Fixed-by: Satish Balay <balay@mcs.anl.gov>
show more ...
source code format changes due to .clang-format changes
Transform all header-guards into ifndefs to make clang-format ignore them for preprocessor indentation
Remove parent, parentid, flops, time, mem, and memchildren. Deprecate PetscLogObjectParent(), PetscLogObjectMemory(), and PetscNewLog()
MATDENSECUDA: add support for device random number generation
Fix manual pages in src/mat directory, very minor source code changeCommit-type: documentation/spend 22h
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
Mat: Check argument before setting to NULL
Update handling of MatTranspose() with MAT_REUSE_MATRIXAdd error checking for the use of the MAT_REUSE_MATRIX flag in MatTranspose()Add tests to MatTranspose_XXX to error if the nonzero pattern ch
Update handling of MatTranspose() with MAT_REUSE_MATRIXAdd error checking for the use of the MAT_REUSE_MATRIX flag in MatTranspose()Add tests to MatTranspose_XXX to error if the nonzero pattern changesAdd support for MAT_REUSE_MATRIX with changing nonzero pattern for MatTranspose_SeqAIJ()Remove use of updateAt in MatProductNumeric_AtB_SeqAIJ_SeqAIJ() since MatTranspose() automatically skips unneeded new transposeAdd MatTransposeSymbolic()Update to SLEPc that supports these changesCommit-type: feature, error-checking, documentation/spend 5h
Cleanup and unify naming of PetscCall routinesCommit-type: housekeeping/spend 10m
Refactor handling of setable properties of matrices via MatSetOptions()Introduce PetscBool3 with enum values true, false, and unknownUse PetscBool3 to store matrices properties in a matrix and cl
Refactor handling of setable properties of matrices via MatSetOptions()Introduce PetscBool3 with enum values true, false, and unknownUse PetscBool3 to store matrices properties in a matrix and cleanup interface to check these valuesAdd full support for symmetric, Hermitian, structurally symmetric, and SPD.Commit-type: feature/spend 6h
Fix rebalancing of ghost pointers for DMPLEX/spend 25hCommit-type: optimization, bug-fix, style-fix, feature
Initialize MatOps_Values with two new NULLs
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.
MATSEQDENSECUDA: fix bug for CPU computations on a submatrix
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
12345678910>>...38