History log of /petsc/src/mat/tutorials/ex20f.F90 (Results 1 – 16 of 16)
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 ...


# 749c190b 25-Dec-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-12-04/fix-use-mpi-f08' into 'main'

Replace -with-mpi-f90module-visibility with -with-mpi-ftn-module=mpi_f08

See merge request petsc/petsc!8885


# b06eb4cd 04-Dec-2025 Barry Smith <bsmith@mcs.anl.gov>

Replace -with-mpi-f90module-visibility with -with-mpi-f90module=mpi_f08

Add PETSC_INT_KIND and PETSC_MPIINT_KIND

Reported-by: M.Weiland@epcc.ed.ac.uk


# 9b88ac22 29-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'MarDiehl/improve-Fortran-examples' into 'main'

Improve Fortran examples

See merge request petsc/petsc!8698


# 02c639af 14-Oct-2025 Martin Diehl <mail@martin-diehl.net>

Fortran: enforce lower case keywords and operators

also fixed occasional capitals in used modules with the help of @prj-


# 01fa2b5a 10-Oct-2025 Martin Diehl <mail@martin-diehl.net>

cleanup suggestions by @BarrySmith

also noticed a few stray functions not marked as external and put them
into modules


# e7a95102 05-Oct-2025 Martin Diehl <mail@martin-diehl.net>

use modules instead of external

this allows for argument checking


# c5e229c2 29-Sep-2025 Martin Diehl <mail@martin-diehl.net>

place all the include statements at the top

Repeated inclusion in multiple location, e.g. at the start of a
module or function is not needed. This becomes clear if all includes are
outside of the ac

place all the include statements at the top

Repeated inclusion in multiple location, e.g. at the start of a
module or function is not needed. This becomes clear if all includes are
outside of the actual Fortran code.
Added regex to check that with the help of @sbalay

show more ...


# edb0e59d 23-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-07-01/format-fortran-source-fprettify' into 'main'

format fortran source with fprettify

See merge request petsc/petsc!8514


# 4820e4ea 23-Sep-2025 Barry Smith <bsmith@mcs.anl.gov>

Run fprettify


# 6eff51de 04-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-07-02/fortran-no-semicolon-end-of-line' into 'main'

fortran no semicolon at end of line

See merge request petsc/petsc!8519


# ccfd86f1 04-Jul-2025 Barry Smith <bsmith@mcs.anl.gov>

fortran no semicolon at end of line

Remove all unneeded ; at end of Fortran source code line

Add checkbadSource to check for semicolon at the end of lines


# f957c0e6 18-Oct-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# e1cc9a54 17-Oct-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/release/matduplicate-fortran' into 'release'

Support MatDuplicate_Shell in Fortran

See merge request petsc/petsc!6912


# aca0776f 10-Oct-2023 Jose E. Roman <jroman@dsic.upv.es>

Add Fortran example with MatDuplicate for MATSHELL with context

Thanks-To: Barry Smith