History log of /petsc/src/snes/tutorials/ex5f.F90 (Results 1 – 25 of 46)
Revision Date Author Comments
# 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


# 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


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

remove labeled do loops

labeled do loops confused fprettify, so used it to rectify indentation


# 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


# 226f8a8a 20-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 165c2d34 20-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-05-15/docs-rm-last-of-preconditioning-matrix/release' into 'release'

Remove use of preconditioning or preconditioner matrix when it should be...

See merge request petsc/pet

Merge branch 'barry/2025-05-15/docs-rm-last-of-preconditioning-matrix/release' into 'release'

Remove use of preconditioning or preconditioner matrix when it should be...

See merge request petsc/petsc!8410

show more ...


# 7addb90f 16-May-2025 Barry Smith <bsmith@mcs.anl.gov>

Remove use of preconditioning or preconditioner matrix when it should be phrased as matrix used to construct preconditioner


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


# b7f3c263 24-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/speedup-plex-jacobian' into 'main'

Speedup computations of Jacobian for DMPLEX FEM

See merge request petsc/petsc!7832


# e0b71005 24-Sep-2024 Stefano Zampini <stefano.zampini@gmail.com>

SNES ex5f: fix for -Wmaybe-uninitialized warning


# 184b5a2e 26-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-09-15/fix-log-pcmpi' into 'main'

add optimized shared memory PCMPI and add users manual section on comparing STREAMS performance to PETSc application performance

See merge

Merge branch 'barry/2023-09-15/fix-log-pcmpi' into 'main'

add optimized shared memory PCMPI and add users manual section on comparing STREAMS performance to PETSc application performance

See merge request petsc/petsc!6903

show more ...


# bb060b03 06-Nov-2023 Barry Smith <bsmith@mcs.anl.gov>

Fix warnings in src/snes/tutorials/ex5f.F90

of the form

305 | hx = one/((mx-1))
| 1
Warning: Possible change of value in conversion from INTEGER(8) to

Fix warnings in src/snes/tutorials/ex5f.F90

of the form

305 | hx = one/((mx-1))
| 1
Warning: Possible change of value in conversion from INTEGER(8) to REAL(4) at (1) [-Wconversion]

show more ...


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


# a7155305 23-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/remove-fortran-return' into 'main'

Fortran: remove unneeded return

Closes #1564

See merge request petsc/petsc!7402


# 849a9ca3 23-Mar-2024 Pierre Jolivet <pierre@joliv.et>

Fortran: remove unneeded return


# c72397d7 25-May-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-05-14/add-fortran-petsccheck' into 'main'

Add PetscCheck() and PetscCheckA() for Fortran

See merge request petsc/petsc!6464


# dcb3e689 14-May-2023 Barry Smith <bsmith@mcs.anl.gov>

Add PetscCheck() and PetscCheckA() for Fortran

Also fix incorrect use of " in Fortran examples that should be '


# 18290094 15-Jan-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-12-27/rm-vecgetarray-fortran-examples' into 'main'

Replace use of VecGetArray() and friends from Fortran examples and docs

See merge request petsc/petsc!5950


12