History log of /petsc/src/mat/impls/nest/matnest.c (Results 1 – 25 of 579)
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 ...


# 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


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


# 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


# cf5ba5da 09-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-11-04/fix-matview-nest-ascii' into 'main'

Fix outdated output of MatView() for nest matrix with ASCII

See merge request petsc/petsc!8827


# 7e1a0bbe 05-Nov-2025 Barry Smith <bsmith@mcs.anl.gov>

Fix outdated output of MatView() for nest matrix with ASCII

Now matches VecNest version and does not have outdated reprinting of Mat Object and type


# cc1eb50d 27-Oct-2025 Barry Smith <bsmith@mcs.anl.gov>

Change names of Mat_XXX product contexts to MatProductCtx_XXX for code maintainability

Update destroy callback of all MatProductCtx and MatShellSetMatProductOperation() to use PetscCtxDestroyFn


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


# d0a38d53 09-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-07-04/improve-fortran-error-check-matcreatenest' into 'main'

Add clearer error check for Fortran MatCreateNest() and proper Fortran stub...

See merge request petsc/petsc!85

Merge branch 'barry/2025-07-04/improve-fortran-error-check-matcreatenest' into 'main'

Add clearer error check for Fortran MatCreateNest() and proper Fortran stub...

See merge request petsc/petsc!8526

show more ...


# 58ad77e8 05-Jul-2025 Barry Smith <bsmith@mcs.anl.gov>

Add clearer error check for Fortran MatCreateNest() and proper Fortran stub for MatNestSetSubMats().

Reported-by: Randall Mackie


# 8ad40119 16-Jun-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/nest-view' into 'main'

MATNEST: add support for MatView for ascii matlab

See merge request petsc/petsc!8475


# 30924786 13-Jun-2025 Stefano Zampini <stefano.zampini@gmail.com>

MATNEST: add support for MatView for ascii matlab


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

Merge remote-tracking branch 'origin/release'


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

Merge branch 'jose/release/fix-matcopy-nest2' into 'release'

Mat: another fix to MatCopy_Nest() in case of empty blocks

See merge request petsc/petsc!8387


# ea6db252 07-May-2025 Jose E. Roman <jroman@dsic.upv.es>

Mat: another fix to MatCopy_Nest() in case of empty blocks

Complements !8375 for when either A and B has an empty block, which
exists in the other matrix


# eefb368e 06-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 826b844d 06-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/release/fix-matcopy-nest' into 'release'

Mat: fix MatCopy_Nest() in case of empty blocks

See merge request petsc/petsc!8375


# 819cf653 05-May-2025 Jose E. Roman <jroman@dsic.upv.es>

Mat: fix MatCopy_Nest() in case of empty blocks


# c9df829d 14-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 98beeaf0 14-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/ftn-penss' into 'release'

Fortran bindings: add PeNSS for mixed automatic-custom interfaces

See merge request petsc/petsc!8312


12345678910>>...24