History log of /petsc/src/mat/interface/matrix.c (Results 1 – 25 of 3231)
Revision Date Author Comments
# 4e8208cb 31-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetC

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetCtx ctx)

See merge request petsc/petsc!8956

show more ...


# 2a8381b2 13-Jan-2026 Barry Smith <bsmith@mcs.anl.gov>

Add automatic generated fortran support for setting and returning contexts

Major cleanup of the code for setting and returning application (previously called user) contexts
- PetscCtx ctx is now t

Add automatic generated fortran support for setting and returning contexts

Major cleanup of the code for setting and returning application (previously called user) contexts
- PetscCtx ctx is now the standard for passing in contexts
- PetscCtxRt ctx is the standard for passing out contexts, including context destroy routines based on PetscCtxDestroyFn

Both of these are typedef to void*

Also removed most use of user and userctx for context arguments now consistently named ctx

Improved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran

show more ...


# c4de5423 13-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# e3c74596 12-Jan-2026 Satish Balay <balay@mcs.anl.gov>

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

MatConjugate(): should not conjugate if both Hermitian and symmetric

See merge request petsc/petsc!8938


# 7faaee65 05-Jan-2026 Pierre Jolivet <pierre@joliv.et>

MatConjugate(): should not conjugate if both Hermitian and symmetric


# dfe00d7b 16-Dec-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'release'


# 70646cd1 15-Dec-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/housekeeping' into 'main'

Minor housekeeping

See merge request petsc/petsc!8897


# b91bea6b 07-Dec-2025 Pierre Jolivet <pierre@joliv.et>

Set MAT_NO_OFF_PROC_ENTRIES when appropriate to avoid MPI_Allreduce()


# a05dba37 10-Dec-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-inconsistent-bs-mpiaij' into 'release'

MATAIJ: fix inconsistent bs when using MatSetBlockSizesFromMats()

See merge request petsc/petsc!8889


# 2a6d87b3 06-Dec-2025 Pierre Jolivet <pierre@joliv.et>

MATAIJ: fix inconsistent bs when using MatSetBlockSizesFromMats()


# 8bb6a241 03-Dec-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/consolidate-options' into 'main'

Consolidate MAT_HERMITIAN and MAT_SYMMETRIC options

See merge request petsc/petsc!8856


# e9b284a9 13-Nov-2025 Pierre Jolivet <pierre@joliv.et>

MatDiagonalScale(): consolidate test of input Vecs


# b0c98d1d 14-Nov-2025 Pierre Jolivet <pierre@joliv.et>

Rework MAT_SYMMETRIC and MAT_HERMITIAN options


# a289a2f2 25-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# dbc6f87e 24-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/fix-firedrake' into 'release'

MatCreateSubMatrix_Nest: need to increase the state of the object

See merge request petsc/petsc!8860


# 94ab5c28 21-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/minor-fixes' into 'release'

Minor fixes

See merge request petsc/petsc!8852


# 768f1002 20-Nov-2025 Stefano Zampini <stefano.zampini@gmail.com>

MatCreateSubMatrix_Nest: need to increase the state of the object


# e8c0849a 20-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-10-18/optimize-aij-ops' into 'main'

Refactor handling of diagonal marking in *AIJ and SELL matrices

See merge request petsc/petsc!8797


# 421480d9 19-Oct-2025 Barry Smith <bsmith@mcs.anl.gov>

- Replace MatMissingDiagonal() and MatMarkDiagonals_SeqXXX() with MatGetDiagonalMarkers_SeqXXX()

- Mat_SeqXXX->diag is not automatically created during MatAssemblyEnd() saving memory and time

- Replace MatMissingDiagonal() and MatMarkDiagonals_SeqXXX() with MatGetDiagonalMarkers_SeqXXX()

- Mat_SeqXXX->diag is not automatically created during MatAssemblyEnd() saving memory and time

- Accessing Mat_SeqXXX->diag now requires the use of MatGetDiagonalMarkers_SeqXXX() except when the current values are known to be correct; for example during numerical factorizations and solves

- Mat_SeqXXX->diag is now never shared among matrices; hence the free_diag flag is gone. That was always a risky proposition since any of the owning matrices could chang the values thus making them incorrect for other owners.

show more ...


# 2b2f8cc6 14-Nov-2025 Pierre Jolivet <pierre@joliv.et>

Minor fixes


# b31b2f82 10-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-10-24/fix-dmshellsetdestroyctx' into 'main'

Finish converting the function prototypes of destroy for contexts to use PetscCtxDestroyFn

See merge request petsc/petsc!8810


# 7da3f0df 29-Oct-2025 Barry Smith <bsmith@mcs.anl.gov>

Updates to manual pages related to MatProductCreate()

Not for release


# 3b751433 21-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# de084fa9 20-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-10-18/docs-matsor/release' into 'release'

Tiny improvements to MatSOR manual page

See merge request petsc/petsc!8798


# 10e18b2a 19-Oct-2025 Barry Smith <bsmith@mcs.anl.gov>

Tiny improvements to MatSOR manual page


12345678910>>...130