| #
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 ...
|
| #
9505eb2a
|
| 09-Jul-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-04-14/fix-rebalance' into 'main'
Major repairs for DMPlexRebalanceSharedVertices()
See merge request petsc/petsc!5234
|
| #
252a1336
|
| 15-Apr-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix rebalancing of ghost pointers for DMPLEX
/spend 25h
Commit-type: optimization, bug-fix, style-fix, feature
|
| #
3b68727b
|
| 03-Jul-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-06-03/add-mpi-kspsolve-nonmpi-program' into 'main'
Add -mpi_linear_solver_server
See merge request petsc/petsc!5318
|
| #
f1f2ae84
|
| 04-Jun-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Added -mpi_linear_solver_server that allows using MPI parallel KSP solvers from sequential or OpenMPI code
Uses -ksp_type preonly -pc_type mpi The inner KSP has a prefix of -mpi
-mpi_linear_solver_
Added -mpi_linear_solver_server that allows using MPI parallel KSP solvers from sequential or OpenMPI code
Uses -ksp_type preonly -pc_type mpi The inner KSP has a prefix of -mpi
-mpi_linear_solver_server_view gives a very short summary of the solves
Commit-type: feature /spend 15h
show more ...
|
| #
44e5f0e3
|
| 29-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'wence/petsc-check-do-while' into 'main'
Wrap PetscCheck and PetscAssert in do { } while (0)
Closes #1199
See merge request petsc/petsc!5291
|
| #
c803a8f8
|
| 28-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jczhang/feature-cusparse-ilu0' into 'main'
Support symbolic, numeric ILU0/ICC0 with natural ordering on device
See merge request petsc/petsc!5364
|
| #
3893b582
|
| 20-Jun-2022 |
Junchao Zhang <jczhang@mcs.anl.gov> |
MATAIJ: cosmetic changes
|
| #
558cb1cc
|
| 27-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'adams/mataij-graph-filter' into 'main'
Move create and filter graph from PCGAMG to MATAIJ, add MIS-k
See merge request petsc/petsc!5331
|
| #
72833a62
|
| 10-Jun-2022 |
markadams4 <mfadams@lbl.gov> |
Move create and filter graph from PCGAMG to AMTAIJ
|
| #
f7d195e4
|
| 28-May-2022 |
Lawrence Mitchell <lawrence@wence.uk> |
Wrap PetscCheck and PetscAssert in do { } while (0)
These macros look like functions, so they should behave like functions. Fix up the resulting invalid syntax due to the previous behaviour of these
Wrap PetscCheck and PetscAssert in do { } while (0)
These macros look like functions, so they should behave like functions. Fix up the resulting invalid syntax due to the previous behaviour of these macros being "if (...) statement_without_semicolon". Fixes #1199.
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 ...
|
| #
5a9175c2
|
| 22-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'hzhang/external-matfactor-options' into 'main'
Get options in symbolic factorization instead of MatGetFactor() using KSP/PC prefix when inside KSP
See merge request petsc/petsc!5230
|
| #
26cc229b
|
| 06-Jun-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Change matrix factor database options that occur in KSP/PC to always use KSP/PC options prefix
Add MatSetOptionsPrefixFactor() and MatAppendOptionsPrefixFactor() to allow controlling the options pre
Change matrix factor database options that occur in KSP/PC to always use KSP/PC options prefix
Add MatSetOptionsPrefixFactor() and MatAppendOptionsPrefixFactor() to allow controlling the options prefix used by factors created from this matrix
Change MatSetOptionsPrefix() to no longer affect the options prefix used by factors created from this matrix
As part of the above work the handling of the factor matrix options is now done in code in the factor matrix not in the code that originates the factor matrix
Update examples output to the new approach where the factored matrix prefix is set from the KSP/PC
Much of this work was performed by Hong Zhang
Commit-type: usability /spend 5h
show more ...
|
| #
89a1a59b
|
| 06-May-2022 |
Hong Zhang <hzhang@mcs.anl.gov> |
Add notes to MatDestroy() that destroys of matrices may not go through this routine.
I wasted several hours debugging a simple memory leak due to this design.
/spend 3h
|
| #
dc34d9f7
|
| 17-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/fix-function-composition' into 'main'
fix function composition
See merge request petsc/petsc!5274
|
| #
2e956fe4
|
| 24-May-2022 |
Stefano Zampini <stefano.zampini@gmail.com> |
PetscObjectFunctionCompose: clean up composed functions at Destroy time
|
| #
70719257
|
| 10-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'psanan/docs-seealso-formatting' into 'main'
Docs: Fix man page .seealso entries missing spaces after commas
Closes #1176
See merge request petsc/petsc!5202
|
| #
97a91c33
|
| 06-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jose/mat-dense-shift' into 'main'
Mat: implement MatShift() for dense matrices
See merge request petsc/petsc!5191
|
| #
5519a089
|
| 02-May-2022 |
Jose E. Roman <jroman@dsic.upv.es> |
Mat: fix bugs in aijkokkos matrices. We need to know when we can legitimately access A->aijkok.
|
| #
66a29a06
|
| 04-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
e7b1d28d
|
| 03-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jczhang/fix-matshift-non-square' into 'release'
Fix a bug in MatShift(), which miscounted missing diagonals in `out of range` rows
See merge request petsc/petsc!5206
|
| #
349d3b71
|
| 03-May-2022 |
Junchao Zhang <jczhang@anl.gov> |
Mat: fix a bug in MatShift_SeqAIJ, which miscounted missing diagonals in out of range rows
|