History log of /petsc/src/sys/ftn-mod/petscsysmod.F90 (Results 1 – 20 of 20)
Revision Date Author Comments
# 03047865 18-Feb-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2026-02-14/remove-last-of-source-horizontal-lines' into 'main'

Remove the last of the use of horizontal lines --- as seperators. With modern...

See merge request petsc/petsc!9039


# 21789920 15-Feb-2026 Barry Smith <bsmith@mcs.anl.gov>

Remove the last of the use of horizontal lines --- as seperators. With modern code development systems they are not needed and just an eye-sore


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


# 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


# 51b144c6 29-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'MarDiehl/use-bool-instead-of-enum' into 'main'

use bool instead of enum

See merge request petsc/petsc!8528


# 1dc74096 21-Jul-2025 Martin Diehl <mail@martin-diehl.net>

use standard bool instead of enum

PetscBool is equivalent to _Bool/bool in C

For C standards prior to C23, true = 1 and false = 0 are defined in <stdbool.h>.
For C23, true and false are real keywor

use standard bool instead of enum

PetscBool is equivalent to _Bool/bool in C

For C standards prior to C23, true = 1 and false = 0 are defined in <stdbool.h>.
For C23, true and false are real keywords.

The Fortran equivalent is logical(C_BOOL) with C_BOOL from
ISO_C_binding.

The C and the C++ standard do not specify the size of Booleans, but they
typically have a size of 1 Byte with b00000000 for false and b00000001 for true.
When using compilers from the same vendor, it is sane to assume that
_Bool/bool in C and bool in C++ are fully compatible. But that is not
guaranteed by the standards

show more ...


# 3868eb11 07-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'MarDiehl/Fortran-use-ISO_C_BINDING' into 'main'

include ISO_C_BINDING

See merge request petsc/petsc!8481


# 0f7a542f 04-Jul-2025 Martin Diehl <mail@martin-diehl.net>

improve readability, use modern Fortran

overlaid with a lot of white space changes, best to ignore to focus on
the relevant things


# fe66ebcc 18-Jun-2025 Martin Diehl <mail@martin-diehl.net>

use integer and real kinds from ISO_C_binding

The kinds in this module are guaranteed to be compatible with the
corresponding C types.
Requires to include the ISO_C_binding module in interfaces and

use integer and real kinds from ISO_C_binding

The kinds in this module are guaranteed to be compatible with the
corresponding C types.
Requires to include the ISO_C_binding module in interfaces and stray
functions

show more ...


# 09b68a49 04-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# d31fe398 31-Mar-2025 Satish Balay <balay@mcs.anl.gov>

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

Fix typos

See merge request petsc/petsc!8259


# bfe80ac4 29-Mar-2025 Pierre Jolivet <pierre@joliv.et>

Fix typos


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