| #
8fd105b6
|
| 17-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-06-28/add-petsccallmethod' into 'main'
Introduce PetscTryTypeMethod and PetscUseTypeMethod to replace ad hoc use of (*obj->ops->method) in source
See merge request petsc/
Merge branch 'barry/2022-06-28/add-petsccallmethod' into 'main'
Introduce PetscTryTypeMethod and PetscUseTypeMethod to replace ad hoc use of (*obj->ops->method) in source
See merge request petsc/petsc!5376
show more ...
|
| #
dbbe0bcd
|
| 23-Jul-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Convert setfromoptions methods over to PetscTryTypeMethod() approach
Flipped the order of the arguments for the function pointers (*setfromoptions)(PetscOptionItem*,obj); and friends to make them co
Convert setfromoptions methods over to PetscTryTypeMethod() approach
Flipped the order of the arguments for the function pointers (*setfromoptions)(PetscOptionItem*,obj); and friends to make them consistent with PetscTryTypeMethod() and all the other methods
Commit-type: refactorization /spend 4h
show more ...
|
| #
71052fdf
|
| 23-Jul-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove the no longer needed PetscCheck(a->ops->y...
Commit-type: error-checking, housekeeping /spend 10m
Development Tools: Vim, Emacs, Eclipse
|
| #
e92ec50a
|
| 06-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'hzhang/fix-matproductreplacemats' into 'main'
bugfix for MatProductReplaceMats()
See merge request petsc/petsc!5489
|
| #
1cdffd5e
|
| 06-Aug-2022 |
Hong Zhang <hzhang@mcs.anl.gov> |
bugfix for MatProductReplaceMats()
Reported-by: Pierre Jolivet
|
| #
42b3b702
|
| 25-Jul-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-07-16/fix-mattranspose' into 'main'
Symbolic/numeric stages vs MatReuse flag discussion and additions to MatTranspose
See merge request petsc/petsc!5438
|
| #
7fb60732
|
| 17-Jul-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Update handling of MatTranspose() with MAT_REUSE_MATRIX
Add 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_MATRIX
Add error checking for the use of the MAT_REUSE_MATRIX flag in MatTranspose() Add tests to MatTranspose_XXX to error if the nonzero pattern changes Add 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 transpose Add MatTransposeSymbolic() Update to SLEPc that supports these changes
Commit-type: feature, error-checking, documentation /spend 5h
show more ...
|
| #
acd337a6
|
| 17-Jul-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Replace direct calls to MatTranspose_XX() with MatTranspose() so they properly handle the MatReuse flag
Commit-type: housekeeping /spend 5m
|
| #
e6ab01ba
|
| 09-Jul-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-06-11/improve-mat-setable-values' into 'main'
Refactor handling of settable properties of matrix via MatSetOptions
See merge request petsc/petsc!5338
|
| #
b94d7ded
|
| 13-Jun-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Refactor handling of setable properties of matrices via MatSetOptions()
Introduce PetscBool3 with enum values true, false, and unknown
Use 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 unknown
Use PetscBool3 to store matrices properties in a matrix and cleanup interface to check these values
Add full support for symmetric, Hermitian, structurally symmetric, and SPD.
Commit-type: feature /spend 6h
show more ...
|
| #
145e6476
|
| 23-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-06-13/make-one-line-if-call' into 'main'
Change if () { PetscCall() } three liner to one liner
See merge request petsc/petsc!5344
|
| #
1baa6e33
|
| 14-Jun-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Change if () { PetscCall() } three liner and friends to one liners
for 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 liners
for 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 ; done
Yes, really ugly but Barry still cannot master awk
Commit-type: housekeeping
show more ...
|
| #
e63c167f
|
| 30-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-04-28/rm-petsccheckfalse-mat' into 'main'
Remove the rest of the PetscCheckFalse() from the mat directory
See merge request petsc/petsc!5184
|
| #
aed4548f
|
| 29-Apr-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove the rest of the PetscCheckFalse() from the mat directory
Commit-type: housekeeping /spend 45m
|
| #
527ad957
|
| 11-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-04-01/fix-petsc-options-begin-end/release' into 'main'
Remove bogus error returns from Begin/End() macros
See merge request petsc/petsc!5069
|
| #
d0609ced
|
| 02-Apr-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Cleanup of introduction of PetscCall()
* remove bogus error flags from XXXBegin()/End() macros such as PetscOptionsBegin()/End()
* rename for consistency certain XXXBegin()/End() macros such as Mat
Cleanup of introduction of PetscCall()
* remove bogus error flags from XXXBegin()/End() macros such as PetscOptionsBegin()/End()
* rename for consistency certain XXXBegin()/End() macros such as MatPreallocateInitialize()/Finalize()
* fix many lingering ierr = XXX that arose from multiline function calls
* sync slepc/hpddm - to use snapshots with the same changes
Commit-type: error-checking, style-fix /spend 8h
show more ...
|
| #
b33f4bec
|
| 05-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/feature-less-checkfalse' into 'main'
Dividing by four the number of PetscCheckFalse()
See merge request petsc/petsc!5072
|
| #
08401ef6
|
| 04-Apr-2022 |
Pierre Jolivet <pierre@joliv.et> |
Remove some PetscCheckFalse()
|
| #
f882803c
|
| 26-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-02-23/variadic-chkerr' into 'main'
Variadic CHKERRQ()
See merge request petsc/petsc!4889
|
| #
9566063d
|
| 25-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
The great renaming:
- CHKERRQ() -> PetscCall() - CHKERRV() -> PetscCallVoid() - CHKERRMPI() -> PetscCallMPI() - CHKERRABORT() -> PetscCallAbort() - CHKERRCONTINUE() -> PetscCallContinue() - CHKERRXX
The great renaming:
- CHKERRQ() -> PetscCall() - CHKERRV() -> PetscCallVoid() - CHKERRMPI() -> PetscCallMPI() - CHKERRABORT() -> PetscCallAbort() - CHKERRCONTINUE() -> PetscCallContinue() - CHKERRXX() -> PetscCallThrow() - CHKERRCXX() -> PetscCallCXX() - CHKERRCUDA() -> PetscCallCUDA() - CHKERRCUBLAS() -> PetscCallCUBLAS() - CHKERRCUSPARSE() -> PetscCallCUSPARSE() - CHKERRCUSOLVER() -> PetscCallCUSOLVER() - CHKERRCUFFT() -> PetscCallCUFFT() - CHKERRCURAND() -> PetscCallCURAND() - CHKERRHIP() -> PetscCallHIP() - CHKERRHIPBLAS() -> PetscCallHIPBLAS() - CHKERRHIPSOLVER() -> PetscCallHIPSOLVER() - CHKERRQ_CEED() -> PetscCallCEED() - CHKERR_FORTRAN_VOID_FUNCTION() -> PetscCallFortranVoidFunction() - CHKERRMKL() -> PetscCallMKL() - CHKERRMMG() -> PetscCallMMG() - CHKERRMMG_NONSTANDARD() -> PetscCallMMG_NONSTANDARD() - CHKERRCGNS() -> PetscCallCGNS() - CHKERRPTSCOTCH() -> PetscCallPTSCOTCH() - CHKERRSTR() -> PetscCallSTR() - CHKERRTC() -> PetscCallTC()
show more ...
|
| #
28b400f6
|
| 03-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
pluck ~1000 low hanging PetscCheckFalse() -> PetscCheck() fruit
|
| #
5f80ce2a
|
| 24-Feb-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
chkerr and friends wrapped
|
| #
1c44eed5
|
| 18-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/dlpack' into 'main'
improve dlpack support
See merge request petsc/petsc!4858
|
| #
75f6d85d
|
| 18-Feb-2022 |
Stefano Zampini <stefano.zampini@gmail.com> |
MATDENSE: improve CUDA support for PYTHON and add DLPACK support
dlpack code moved to dlpack.pxi
|
| #
6584f52a
|
| 11-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/matis-negative-indices' into 'main'
matis negative indices
See merge request petsc/petsc!4923
|