History log of /petsc/src/mat/matfd/ftn-custom/zfdmatrixf.c (Results 1 – 25 of 129)
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 ...


# e1998897 29-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-09-28/fix-petscerrorcodefn-cxx' into 'main'

Fix the definition of PetscErrorCodeFn; this reverts API change in !8615

See merge request petsc/petsc!8745


# 453a69bb 29-Sep-2025 Barry Smith <bsmith@mcs.anl.gov>

Fix the definition of PetscErrorCodeFn; this reverts API change in !8615

Co-authored-by: Pierre Jolivet <pierre@joliv.et>
Reported-by: Lisandro Dalcin <dalcinl@gmail.com>


# 2286efdd 25-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-07-30/fix-matshellsetoperationarg' into 'main'

Complete usage of PetscVoidFn and PetscErrorCodeFn and introduce PetscFortranCallbackFn

See merge request petsc/petsc!8615


# 5ebfa9e9 21-Sep-2025 Barry Smith <bsmith@mcs.anl.gov>

Introduce PetscFortranCallbackFn to be used instead of PetscVoidFn for Fortran callback functions

Also fix incorrect use of SNESFunctionFn and SNESJacobianFn in SNES Fortran manual stub


# 57d50842 31-Jul-2025 Barry Smith <bsmith@mcs.anl.gov>

Change use of void (*)(void) and void (**)(void) in the PETSc API to PetscVoidFn * and PetscVoidFn ** or PetscErrorCodeFn * or PetscErrorCodeFn **


# 9d8735f1 19-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-05-15/add-typedef-fn' into 'main'

Add some typedef XXXFn that currently use the prototype directly in code for some matrix objects

See merge request petsc/petsc!8409


# 2ba42892 16-May-2025 Barry Smith <bsmith@mcs.anl.gov>

Add `MatFDColoringFn` typedef


# b0dcfd16 23-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-03-20/minor-fortran-cleanup' into 'main'

Minor cleanup of Fortran binding stuff to simplify future maintainance

See merge request petsc/petsc!8218


# 6dd63270 20-Mar-2025 Barry Smith <bsmith@mcs.anl.gov>

Minor cleanup of Fortran binding stuff to simplify future maintainance

There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90

Minor cleanup of Fortran binding stuff to simplify future maintainance

There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90impl.h files. Also move uses of f90 to ftn when simple

show more ...


# 6d8694c4 20-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-29/add-fortran-enums' into 'main'

Major updates to Fortran interface

See merge request petsc/petsc!7517


# ce78bad3 20-Feb-2025 Barry Smith <bsmith@petsc.dev>

Fortran 90: fully embrace After 34 years!

- deprecate use of 'F90' in Fortran function names
- use Fortran pointers when appropriate
- the new Fortran API is not backward compatible with previous ve

Fortran 90: fully embrace After 34 years!

- deprecate use of 'F90' in Fortran function names
- use Fortran pointers when appropriate
- the new Fortran API is not backward compatible with previous versions!
- also clean up inconsistent PETSc code detected by new Fortran generation tools
- drop use of bfort
- automatically generate all the Fortran PETSc objects, enums etc from the include files
- generate most of the Fortran interface definitions and functions from the source code
- simplify the number and organization of Fortran modules

Co-authored-by: Jose E. Roman <jroman@dsic.upv.es>

show more ...


# cef0416b 15-May-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-26/fix-sowing-viewers' into 'main'

Remove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowing

See merge request petsc/petsc!7511


# ffeef943 28-Apr-2024 Barry Smith <bsmith@mcs.anl.gov>

Update to sowing version that supports PetscViewer and PetscObject

Remove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowing

Also handles the passing of null

Update to sowing version that supports PetscViewer and PetscObject

Remove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowing

Also handles the passing of null objects correctly

show more ...


# 1ed6e3ff 25-Apr-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-13/fix-sowing-strings' into 'main'

Update PETSc to use sowing bfort that handles string arguments and PETSC_NULL_INT

See merge request petsc/petsc!7480


# cc4c1da9 14-Apr-2024 Barry Smith <bsmith@mcs.anl.gov>

Update source code removing all unneeded /*@C and associated manual stubs and interfaces


# 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


# f4f49eea 11-Feb-2024 Pierre Jolivet <pierre@joliv.et>

Remove multiple parentheses and extra semicolon

git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g

Remove multiple parentheses and extra semicolon

git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g'
git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g'
git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'

show more ...


# c7fbd2bd 02-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-01-19/typedef-snes-functions' into 'main'

add typedef for functions passed to SNESSetFunction() etc to match approach in TS

See merge request petsc/petsc!7206


# 8434afd1 02-Feb-2024 Barry Smith <bsmith@mcs.anl.gov>

Change the use of the _Fn suffix to indicate a typedef of a function to just Fn

As determined on a vote on GitLab


# 5ddc805b 21-Jan-2024 Barry Smith <bsmith@mcs.anl.gov>

Change PETSc sys typedef function names to use the new _Fn format

Commit-type: housekeeping, maintainance


# a663c1df 13-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# fafa7813 13-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-04-11/run-clang-format-on-ftn-custom/release' into 'release'

Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially

Merge branch 'barry/2023-04-11/run-clang-format-on-ftn-custom/release' into 'release'

Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially

See merge request petsc/petsc!6310

show more ...


# 5975b3b6 11-Apr-2023 Barry Smith <bsmith@mcs.anl.gov>

Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially


123456