History log of /petsc/src/mat/interface/matproduct.c (Results 1 – 25 of 159)
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 ...


# 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


# 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


# 4f037aad 27-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/bs' into 'main'

PetscLayout: set default block size to 1

See merge request petsc/petsc!8226


# fe47926e 23-Mar-2025 Stefano Zampini <stefano.zampini@gmail.com>

MatProduct: fix unsafe cases for block size propagation

Add test from Pierre


# fd4e4c6a 25-Feb-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'adams/mat-rap-blocksize' into 'main'

propagates mat blocksize in PtAP

See merge request petsc/petsc!8143


# 39cfb508 25-Feb-2025 Mark Adams <524115-markadams4@users.noreply.gitlab.com>

propagates mat blocksize in PtAP


# dca0b66a 30-Jan-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'adams/aijkokkos-fix-ABC-bs' into 'main'

aijkokkos: setting block sizes for product of PtAP, etc to aijkokkos and cusparse

See merge request petsc/petsc!8098


# 0e6a1e94 30-Jan-2025 Mark Adams <524115-markadams4@users.noreply.gitlab.com>

aijkokkos: setting block sizes for product of PtAP, etc to aijkokkos and cusparse


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

Merge branch 'stefanozampini/useless-cast' into 'main'

Remove useless cast

See merge request petsc/petsc!7894


# 835f2295 05-Oct-2024 Stefano Zampini <stefano.zampini@gmail.com>

Brain dead fixes for useless casts


# 0a78fc91 02-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 160390d7 29-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/typos' into 'release'

Fix typos

See merge request petsc/petsc!7893


# d7c1f440 29-Sep-2024 Pierre Jolivet <pierre@joliv.et>

Fix typos


# 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


# dd460d27 10-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Fixes for clang-tidy


# 32e03751 29-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/deprecate-petsc-default' into 'main'

Fix usage of deprecated PETSC_DEFAULT

See merge request petsc/petsc!7707


# fb842aef 29-Jul-2024 Jose E. Roman <jroman@dsic.upv.es>

Fix usage of deprecated PETSC_DEFAULT


# eca7e54b 14-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# c52ffa67 12-Jul-2024 Satish Balay <balay@mcs.anl.gov>

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

Docs fixes

See merge request petsc/petsc!7682


# 0241b274 10-Jul-2024 Pierre Jolivet <pierre@joliv.et>

Docs: fix nonexisting functions and variables


# a623e290 12-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-05-29/minor-fortran-stub-cleanup' into 'main'

More improvements to Fortran stubs and interfaces

See merge request petsc/petsc!7598


# 5d83a8b1 30-May-2024 Barry Smith <bsmith@mcs.anl.gov>

This requires some changes to user FORTRAN code

Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array
Pass PETSC_NULL_ENUM when argument returns an enum instead of

This requires some changes to user FORTRAN code

Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array
Pass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGER
Pass arrays (and not scalar values) when the argument is expecting an array; this means replace, for example, the argument v with [v]
Use PetscObjectIsNull(obj) to check if the object is NULL, instead of obj == PETSC_NULL_XXX

The compiler will now automatically prevent you from using the wrong argument type for the first three bullets above
This will also require an update sowing with the new sowing branch this MR is using.

show more ...


1234567