History log of /petsc/src/mat/impls/aij/seq/inode.c (Results 1 – 25 of 500)
Revision Date Author Comments
# 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 ...


# 07425a8d 18-Oct-2025 Barry Smith <bsmith@mcs.anl.gov>

This MR optimize some MAT[SB]AIJ operations related to the diagonal

The longer term goal is to refactor some Mat_SeqXXX non-numeric code to make it easier to also implement it on GPUs. For example,

This MR optimize some MAT[SB]AIJ operations related to the diagonal

The longer term goal is to refactor some Mat_SeqXXX non-numeric code to make it easier to also implement it on GPUs. For example, MatGetDiagonal() and friends

This commit
- MatMarkDiagonal_SeqAIJ/ELL()
- now use change in mat->nonzerostate to determine if it needs to recheck the diagonal locations
- sets diagDense flag for a complete diagonal
- MatInvertDiagonal_SeqAIJ/ELL()
- now uses change in mat->state to determine if diagonal entries and inverses need to be recomputed
- name changed to MatInvertDiagonalForSOR_SeqAIJ/ELL() for code clarity
- Added MatInvertDiagonal_SeqAIJ_Inode() for use by MatSOR_SeqAIJ_Inode()
- now uses change in mat->state to determine if block diagonal entries and inverses need to be recomputed

show more ...


# 834855d6 27-Aug-2025 Satish Balay <balay@mcs.anl.gov>

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

clang-format-21

See merge request petsc/petsc!8202


# 966bd95a 25-May-2025 Pierre Jolivet <pierre@joliv.et>

Convert some SETERRQ() to PetscCheck()


# 6a97282b 24-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 47dce17d 24-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-factor-inode' into 'release'

MatFactor: fix MatLUFactorNumeric_SeqAIJ_Inode()

See merge request petsc/petsc!8581


# 1a303e4d 23-Jul-2025 Pierre Jolivet <pierre@joliv.et>

MatFactor: fix MatLUFactorNumeric_SeqAIJ_Inode()

Reported-by: Matteo Colombo


# 5f5eafce 23-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 620727d1 22-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/2025-04-18/fix-matmult-aij-openmp-inode' into 'release'

OpenMP: add OpenMP to MatMult_SeqAIJ with inode

See merge request petsc/petsc!8331


# 708a0e70 21-Apr-2025 Junchao Zhang <jczhang@anl.gov>

OpenMP: add OpenMP to MatMult_SeqAIJ with inode

So users won't get performance surprises.

close #1742


# 4d12350b 21-Apr-2025 Junchao Zhang <jczhang@anl.gov>

Mat: rename inode.size and change it to csr format to facilitate parallel computing


# a982d554 16-Jan-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# e6641d91 15-Jan-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-01-14/better-inode-error-message/release' into 'release'

Print the requested inode size when unsupported size generates an error

See merge request petsc/petsc!8080


# 0c335700 15-Jan-2025 Barry Smith <bsmith@mcs.anl.gov>

Print the requested inode size when unsupported size generates an error


# 2e45e1b1 24-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# e58947e7 22-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jrwrigh/cleanup_malloc' into 'release'

sys: Cleanup PetscMalloc and PetscCalloc

See merge request petsc/petsc!7892


# 32603206 02-Oct-2024 James Wright <james@jameswright.xyz>

Address potential Malloc/Calloc ternary operator bugs

- Bug either by the argument of the ternary operator being cast
inappropriately to `size_t` or by the values themselves not being cast
to `s

Address potential Malloc/Calloc ternary operator bugs

- Bug either by the argument of the ternary operator being cast
inappropriately to `size_t` or by the values themselves not being cast
to `size_t` when necessary.

show more ...


# d8e47b63 17-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'

Compiler finds (and forbid) casts from higher precision integers to lower

See merge request petsc/petsc!7806


# 6497c311 25-Aug-2024 Barry Smith <bsmith@mcs.anl.gov>

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in th

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in the CI

show more ...


# 4d179fb4 19-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/add-matmatsolvetranspose_seqaij' into 'main'

MatMatSolveTranspose_SeqAIJ and minor housekeeping

See merge request petsc/petsc!7386


# a3d9026e 16-Jan-2024 Pierre Jolivet <pierre@joliv.et>

Add MatMatSolveTranspose_SeqAIJ


# 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


# fbccb6d4 18-Nov-2023 Pierre Jolivet <pierre@joliv.et>

CI: update to clang-format-18


# 16ce926e 11-Nov-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


12345678910>>...20