History log of /petsc/src/dm/impls/swarm/tutorials/ex1f90.F90 (Results 1 – 23 of 23)
Revision Date Author Comments
# f14a7c29 08-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-12-27/ftn-rm-funname-interface-definition' into 'main'

Remove the function name from generated Fortran interface definitions.

Closes #1838

See merge request petsc/petsc!89

Merge branch 'barry/2025-12-27/ftn-rm-funname-interface-definition' into 'main'

Remove the function name from generated Fortran interface definitions.

Closes #1838

See merge request petsc/petsc!8921

show more ...


# 1c4a1a5b 02-Jan-2026 Martin Diehl <mail@martin-diehl.net>

Fortran 2008 has unlimited polymorphic/'*'


# 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


# ccfb0f9f 16-Oct-2025 Martin Diehl <mail@martin-diehl.net>

Fortran is always F2003: removed leftovers


# 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


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


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

Merge branch 'knepley/feature-hamiltonian-ex2-opt' into 'main'

Fix Hamiltonian ex2 for Landau Damping

See merge request petsc/petsc!7937


# d52c2f21 02-Oct-2024 Matthew G. Knepley <knepley@gmail.com>

DMSwarm: Allow multiple fields to define the DM field and multiple cellDM, allow different coordinate fields, and compute moments
- Changed interface for DMSwarmVectorDefineField() and DMSwarmVectorG

DMSwarm: Allow multiple fields to define the DM field and multiple cellDM, allow different coordinate fields, and compute moments
- Changed interface for DMSwarmVectorDefineField() and DMSwarmVectorGetField() to allow multiple fields
- Add DMSwarmReplace_Internal()
- Add coordinate name to Swarm
- Add DMSwarmGetCoordinateField() and DMSwarmSetCoordinateField()
- Add DMSwarmComputeMoments()
- In DMLocatePoints_Plex(), ignore extra coordinates in input vector
- Add CellDMInfo struct
- Add DMSwarmPushCellDM() and DMSwarmPopCellDM()

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


# 540c0c32 02-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-05-24/add-petsccall-fortran-examples' into 'main'

Update all Fortran examples to modern error checking with PetscCallXXX() wrappers around PETSc/MPI function calls.

See mer

Merge branch 'barry/2022-05-24/add-petsccall-fortran-examples' into 'main'

Update all Fortran examples to modern error checking with PetscCallXXX() wrappers around PETSc/MPI function calls.

See merge request petsc/petsc!5271

show more ...


# d8606c27 24-May-2022 Barry Smith <bsmith@mcs.anl.gov>

Add modern error checking to rest of Fortran examples

/spend 2.5h


# c1bf08c5 06-Sep-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/spelling-errors' into 'main'

Fix many spelling errors in manpages and comments

See merge request petsc/petsc!4283


# a5b23f4a 03-Sep-2021 Jose E. Roman <jroman@dsic.upv.es>

Fix spelling errors in manpages and comments


# 12ddc87b 30-Aug-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-defined-define' into 'main'

requires: define -> requires: defined

Closes #984

See merge request petsc/petsc!4265


# dfd57a17 30-Aug-2021 Pierre Jolivet <pierre@joliv.et>

requires: define -> requires: defined


# 68ce86a1 18-May-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-plex-ceed-integration' into 'main'

Plex: Initial CEED integration

See merge request petsc/petsc!3918


# 30602db0 14-May-2021 Matthew G. Knepley <knepley@gmail.com>

Plex: Update examples to use new creation interface


# afbb2908 10-Jul-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-swarm-fortran' into 'master'

Knepley/feature swarm fortran

See merge request petsc/petsc!2680


# 4cd81d59 28-Mar-2020 Matthew G. Knepley <knepley@gmail.com>

Swarm ex1f: Added tutorial example for projection
- Can visualize particles and particle fields through Xdmf
- fixed to conserve, added print of norm
- Added C Swarm ex1 with with indexing for XGC

C

Swarm ex1f: Added tutorial example for projection
- Can visualize particles and particle fields through Xdmf
- fixed to conserve, added print of norm
- Added C Swarm ex1 with with indexing for XGC

Co-authored-by: Mark Adams <mfadams@lbl.gov>

show more ...