History log of /petsc/src/mat/impls/dense/seq/dense.c (Results 1 – 25 of 1341)
Revision Date Author Comments
# 27f16948 06-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/cleanup-matconjugate' into 'main'

[Mat|Vec]Conjugate(): no need to check for USE_COMPLEX in implementations

See merge request petsc/petsc!8937


# 65d0d443 05-Jan-2026 Pierre Jolivet <pierre@joliv.et>

MatConjugate(): no need to check for USE_COMPLEX in implementations


# 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 ...


# ac3f5537 13-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/safeguards-matdense' into 'main'

MatDense: safeguards to avoid faulty inputs

See merge request petsc/petsc!8844


# beb1828f 12-Nov-2025 Pierre Jolivet <pierre@joliv.et>

MatDense: safeguards to avoid faulty inputs


# 9a3a8673 17-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/2025-09-19/precision-mumps' into 'main'

Support different precisions with MUMPS

See merge request petsc/petsc!8715


# d1a032db 26-Aug-2024 Pierre Jolivet <pierre@joliv.et>

Enable ScaLAPACK and MUMPS for other precisions


# 0b46e949 22-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/submat-zerorows' into 'main'

implement ZeroRowsLocal and ZeroRowsColumnsLocal for local references

See merge request petsc/petsc!8705


# c2be7ffe 14-Sep-2025 Stefano Zampini <stefano.zampini@gmail.com>

Mat: add ops for zerorowscolumnslocal


# 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


# ac530a7e 03-Jun-2025 Pierre Jolivet <pierre@joliv.et>

Remove unnecessary braces around one-liners

git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\

Remove unnecessary braces around one-liners

git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'

show more ...


# 3a7d0413 12-May-2025 Pierre Jolivet <pierre@joliv.et>

One-liners from petsc/petsc!5344 and petsc/petsc!5557

Slightly reworked regular expression

git ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do
cat

One-liners from petsc/petsc!5344 and petsc/petsc!5557

Slightly reworked regular expression

git ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do
cat $file | tr '\n' '\r' | sed -E 's/\r([ ]*)(for|if|while|else) ([^\r]*)\{\r[ ]*Petsc([a-zA-Z]*)\(([^\r]*)\);\r[ ]*\}\r/\r\1\2 \3Petsc\4(\5);\r/g' | tr '\r' '\n' > ${file}.joe; mv ${file}.joe ${file}
done

show more ...


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

Merge branch 'MarDiehl/fix-typo' into 'main'

missing "s" for isascii and issundials

See merge request petsc/petsc!8559


# 9f196a02 17-Jul-2025 Martin Diehl <mail@martin-diehl.net>

missing "s" for isascii and issundials


# 390d3996 12-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'lindad/hypre-control-through-pmat' into 'main'

Change hypre PC option defaults based on hypre matrix memory location

See merge request petsc/petsc!8505


# 03db1824 11-Aug-2025 Alex Lindsay <alexlindsay239@gmail.com>

Make MatGetCurrentMemType first class API


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

Merge remote-tracking branch 'origin/release'


# 9ffd1fc6 23-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-Wuninitialized-const-pointer' into 'release'

Fix -Wuninitialized-const-pointer from clang-22

See merge request petsc/petsc!8579


# 97b17b2c 23-Jul-2025 Pierre Jolivet <pierre@joliv.et>

Fix -Wuninitialized-const-pointer from clang-22

src/mat/impls/dense/seq/dense.c:825:51: warning: variable 'info' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-

Fix -Wuninitialized-const-pointer from clang-22

src/mat/impls/dense/seq/dense.c:825:51: warning: variable 'info' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-pointer]
825 | PetscUseTypeMethod(fact, lufactor, NULL, NULL, &info);
| ^~~~
1 warning generated.
src/ksp/ksp/guess/impls/pod/pod.c:88:102: warning: variable 'idummy' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-pointer]
88 | PetscCallBLAS("LAPACKsyevx", LAPACKsyevx_("V", "A", "L", &bN, pod->corr, &bN, &rdummy, &rdummy, &idummy, &idummy, &rdummy, &idummy, pod->eigs, pod->eigv, &bN, &sdummy, &pod->lwork, pod->rwork, pod->iwork, pod->iwork + 5 * bN, &lierr));
| ^~~~~~
src/ksp/ksp/guess/impls/pod/pod.c:315:97: warning: variable 'idummy' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-pointer]
315 | PetscCallBLAS("LAPACKsyevx", LAPACKsyevx_("V", "A", "L", &bN, pod->swork, &bN, &reps, &reps, &idummy, &idummy, &reps, &idummy, pod->eigs, pod->eigv, &bN, pod->swork + bN * bN, &pod->lwork, pod->rwork, pod->iwork, pod->iwork + 5 * bN, &lierr));
| ^~~~~~
2 warnings generated.
src/ksp/pc/impls/bddc/bddcprivate.c:3480:120: warning: variable 'B_IL' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-pointer]
3480 | PetscCallBLAS("LAPACKsygvx", LAPACKsygvx_(&B_itype, "V", "V", "L", &B_N, St, &B_N, S, &B_N, &lower, &upper, &B_IL, &B_IU, &eps, &B_neigs, eigs, eigv, &B_N, work, &B_lwork, rwork, B_iwork, B_ifail, &B_ierr));
| ^~~~
src/ksp/pc/impls/bddc/bddcprivate.c:3480:127: warning: variable 'B_IU' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-pointer]
3480 | PetscCallBLAS("LAPACKsygvx", LAPACKsygvx_(&B_itype, "V", "V", "L", &B_N, St, &B_N, S, &B_N, &lower, &upper, &B_IL, &B_IU, &eps, &B_neigs, eigs, eigv, &B_N, work, &B_lwork, rwork, B_iwork, B_ifail, &B_ierr));
| ^~~~
src/ksp/pc/impls/bddc/bddcprivate.c:3321:114: warning: variable 'B_dummyint' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-pointer]
3321 | PetscCallBLAS("LAPACKsygvx", LAPACKsygvx_(&B_itype, "V", "V", "L", &B_N, St, &B_N, S, &B_N, &zero, &thresh, &B_dummyint, &B_dummyint, &eps, &B_neigs, eigs, eigv, &B_N, &lwork, &B_lwork, rwork, B_iwork, B_ifail, &B_ierr));
| ^~~~~~~~~~
3 warnings generated.

show more ...


# c1a32f8f 09-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/cleanup' into 'main'

Housekeeping

See merge request petsc/petsc!8392


# 8bb0f5c6 07-May-2025 Pierre Jolivet <pierre@joliv.et>

MatOps cleanup


# f5523d9a 09-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# cd1c185a 08-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/fix-hip-ubuntu' into 'release'

fixes for HIP and CUPM Vec operations with two or more vector arguments

See merge request petsc/petsc!8381


# fd5c2d83 06-May-2025 Stefano Zampini <stefano.zampini@gmail.com>

MATDENSE: allow null pointer when restoring array


12345678910>>...54