History log of /petsc/src/mat/interface/matrix.c (Results 176 – 200 of 3231)
Revision Date Author Comments
# 49162958 13-Mar-2024 Stefano Zampini <stefano.zampini@gmail.com>

MatView: relax requirement on same communicator between matrix and viewer


# 6cff0a6b 18-Mar-2024 Pierre Jolivet <pierre@joliv.et>

Mat: consolidate MatIs[Symmetric|Hermitian]() implementations


# ec50fa89 13-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/firedrake-1' into 'main'

Updates for Firedrake: first batch

See merge request petsc/petsc!7358


# a80ceddf 11-Mar-2024 Stefano Zampini <stefano.zampini@gmail.com>

MATDENSE: support NULL in MatSetValues


# 970231d2 07-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/clang-format-18' into 'main'

clang-format version 18

See merge request petsc/petsc!6902


# 00045ab3 11-Feb-2024 Pierre Jolivet <pierre@joliv.et>

Remove carriage return in Petsc(Assert|Check)()

git grep -l -E "Petsc(Assert|Check)\(.*\\\n\"[,)]" | xargs sed -r -i'' 's#Petsc(Assert|Check)\((.*)\\n"([,)])#Petsc\1\(\2\"\3#g'

Suggested-by: Stefan

Remove carriage return in Petsc(Assert|Check)()

git grep -l -E "Petsc(Assert|Check)\(.*\\\n\"[,)]" | xargs sed -r -i'' 's#Petsc(Assert|Check)\((.*)\\n"([,)])#Petsc\1\(\2\"\3#g'

Suggested-by: Stefano Zampini

show more ...


# f4f49eea 11-Feb-2024 Pierre Jolivet <pierre@joliv.et>

Remove multiple parentheses and extra semicolon

git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g

Remove multiple parentheses and extra semicolon

git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g'
git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g'
git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'

show more ...


# c56ceb40 28-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-02-23/doc-trivial-mat' into 'main'

Bug fix, calling MatXXXSetPreallocation on MPI matrices after MatSetOption() loses the option value

See merge request petsc/petsc!7319


# 322df67e 27-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/cleanup' into 'main'

Updates and cleanup

See merge request petsc/petsc!7324


# 5565e308 26-Feb-2024 Pierre Jolivet <pierre@joliv.et>

Typo


# 5e116b59 23-Feb-2024 Barry Smith <bsmith@mcs.anl.gov>

Trivial fix to MatSetValuesBlocked() manual page, spelling and spacing


# 4eb01499 22-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-02-13/fix-nullspace-loss-pcfieldsplit' into 'main'

Keep any (near) null space attached to submatrices in PCFIELDSPLIT even if the...

See merge request petsc/petsc!7293


# 4849c82a 13-Feb-2024 Barry Smith <bsmith@mcs.anl.gov>

Keep any (near) null space attached to submatrices in PCFIELDSPLIT even if the nonzero structure of the original matrix changes.

Also applied to PCBJACOBI and PCASM

Reported-by: "Jeremy Theler (Ext

Keep any (near) null space attached to submatrices in PCFIELDSPLIT even if the nonzero structure of the original matrix changes.

Also applied to PCBJACOBI and PCASM

Reported-by: "Jeremy Theler (External)" <jeremy.theler-ext@ansys.com>

The long-term way to handle this is to have MatGetSubMatr*() reuse the same submatrix objects even if the nonzero structure changes. This would just require a bit of recoding in multiple places.

show more ...


# 6996bd1a 21-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-double' into 'main'

Fix words appearing twice in a row for no good reason

See merge request petsc/petsc!7307


# 15229ffc 21-Feb-2024 Pierre Jolivet <pierre@joliv.et>

Fix words appearing twice in a row for no good reason


# df3ccd81 16-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'hzhang/fix-matproduct-errorflg/release' into 'main'

fix error messages for MatProduct

See merge request petsc/petsc!7292


# a0228903 14-Feb-2024 Hong Zhang <hzhang@mcs.anl.gov>

fix error message when MatProductSymbolic() is not supported for the matrix types
Reported-by: Hana Honnerová <hhornik@kma.zcu.cz>
add 'bool setfromoptions_called' in Mat_Product for checking if MatP

fix error message when MatProductSymbolic() is not supported for the matrix types
Reported-by: Hana Honnerová <hhornik@kma.zcu.cz>
add 'bool setfromoptions_called' in Mat_Product for checking if MatProductSetFromOptions() is called

show more ...


# 957a0d76 13-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-02-09/fix-matzerorowscolumns' into 'main'

Fix bugs in MatZeroRowsColumns() both in docs and handling of no-nonzero on diagonal

See merge request petsc/petsc!7279


# 9939a2d1 09-Feb-2024 Barry Smith <bsmith@mcs.anl.gov>

Fix bugs in MatZeroRowsColumns() both in docs and handling of no-nonzero on diagonal

Bug 1 - documentation
The documentation statement "Unlike `MatZeroRows()` this does not change the nonzero struct

Fix bugs in MatZeroRowsColumns() both in docs and handling of no-nonzero on diagonal

Bug 1 - documentation
The documentation statement "Unlike `MatZeroRows()` this does not change the nonzero structure of the matrix, it merely zeros those entries in the matrix." appears to be incorrect for matrices missing diagonal entries since new nonzeros are added (to fill in the diagonal). The documentation should really say

"Unlike `MatZeroRows()` this routine cannot remove the zeroed entries from the nonzero structure of the matrix; in other words setting the option `MAT_KEEP_NONZERO_PATTERN to PETSC_FALSE has no effect on this routine.

Bug 2 -
The short circuit if (!((Mat_SeqAIJ *)(l->A->data))->keepnonzeropattern) is wrong because that flag is meaningless for this operation. The check should be changed (I think) to nonew instead of keepnonzeropattern.

Reported-by: Jeremy Theler <jeremy.theler-ext@ansys.com>

show more ...


# 4fae72c8 11-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 18be30a9 11-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-matproduct' into 'release'

Missing check for a MatProduct missing implementation

See merge request petsc/petsc!7283


# 9dcea022 11-Feb-2024 Pierre Jolivet <pierre@joliv.et>

MatProduct_Private(): code factorization to ensure proper error checking


# 2398a04f 09-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'adams/feature-jacobi-l1' into 'main'

Mat: GetAbsSum (l1) row norms; PCJacobi: add scaled L1 diagonal approximation

See merge request petsc/petsc!7260


# eede4a3f 09-Feb-2024 Mark Adams <524115-markadams4@users.noreply.gitlab.com>

Mat: GetAbsSum (l1) row norms; PCJacobi: add scaled L1 diagonal approximation


# c7fbd2bd 02-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-01-19/typedef-snes-functions' into 'main'

add typedef for functions passed to SNESSetFunction() etc to match approach in TS

See merge request petsc/petsc!7206


12345678910>>...130