History log of /petsc/.clang-format (Results 1 – 25 of 52)
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 ...


# 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


# 4d1837e9 12-May-2025 Pierre Jolivet <pierre@joliv.et>

Minor style fixes

See discussion at https://github.com/llvm/llvm-project/issues/139376


# 5d3bc7be 21-Mar-2025 Satish Balay <balay@mcs.anl.gov>

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

clang-format-20

See merge request petsc/petsc!7849


# 2c374d11 01-Mar-2025 Pierre Jolivet <pierre@joliv.et>

Fix "Configuration file(s) do(es) not support C" clang-format error


# ad781fe3 21-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-29/fix-function-typedef-style' into 'main'

Unify handling of context destructors

See merge request petsc/petsc!7900


# 49abdd8a 29-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)

Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those t

Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)

Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those that
used PetscContainer

- Now allows any context to be a PetscObject
- Will provide a cleaner mapping to bindings in other languages
- Simplifies the maintenance of PETSc source code; improves clarity

Not backward compatible, compiler warnings will tell users what functions need to be updated

show more ...


# d0e6bf2a 25-Sep-2024 Satish Balay <balay@mcs.anl.gov>

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

clang-format-19

See merge request petsc/petsc!7644


# 0d5ef98a 18-Sep-2024 Satish Balay <balay@mcs.anl.gov>

CI: update checkclangformat to use clang-format-19.1.0


# 4beb96b7 05-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-06-28/fix-improve-blas-openmp' into 'main'

Fix handling of initialization of number of BLAS threads.

See merge request petsc/petsc!7658


# 8d031cca 04-Jul-2024 Junchao Zhang <jczhang@anl.gov>

Add OpenMP directive to MatMult_SeqAIJ etc

Gives pretty good speedup on good memory-bandwidth Intel system and M2 Mac

Reported-by: Yongzhong Li <yongzhong.li@mail.utoronto.ca>


# 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


# 9dd11ecf 25-Aug-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-08-17/header-guard-check' into 'main'

Check header guards

See merge request petsc/petsc!6822


# a4963045 18-Aug-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Convert all header guards to pragma once


# cfd92c66 22-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'tisaac/feature-type-generic-petsc-valid-pointer' into 'main'

Implement a type generic PetscValidPointer

See merge request petsc/petsc!6693


# 517423e8 19-Jul-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Minor fixup and reorganization of PetscAssertPointer implementation


# 00188517 13-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-07-11/better-deprecated-macro' into 'main'

Feature: Uniform Deprecated Macro

See merge request petsc/petsc!6692


# 5029be03 11-Jul-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Use a better deprecated macro to force people to write which version something was deprecated since


# cb867a2c 27-May-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-05-25/clang-format-insert-newline-at-eof' into 'main'

Have clang-format insert newlines at EOF

See merge request petsc/petsc!6509


# adf829b0 25-May-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Have clang-format insert newlines at EOF


# b7dab1a6 24-Mar-2023 Satish Balay <balay@mcs.anl.gov>

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

Switch to clang-format 16

See merge request petsc/petsc!6203


# 6c5826a2 20-Mar-2023 Pierre Jolivet <pierre@joliv.et>

Switch to clang-format 16


# 9aed2f16 16-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-03-14/fixup-petscmacros' into 'main'

petscmacros.h fixups

See merge request petsc/petsc!6188


123