| #
834855d6
|
| 27-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-21' into 'main'
clang-format-21
See merge request petsc/petsc!8202
|
| #
ac530a7e
|
| 03-Jun-2025 |
Pierre Jolivet <pierre@joliv.et> |
Remove unnecessary braces around one-liners
git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\
Remove unnecessary braces around one-liners
git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'
show more ...
|
| #
b8cc7c9f
|
| 10-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
7cb29c40
|
| 10-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-04-04/add-fortran-dmcreatefielddecomposition/release' into 'release'
Add Fortran binding for dmcreatefielddecomposition
See merge request petsc/petsc!8276
|
| #
8d9ecca5
|
| 04-Apr-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Add Fortran support for DMCreateFieldDecomposition
Includes test with DMDA
|
| #
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 ...
|
| #
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 ...
|
| #
a4987ed7
|
| 29-May-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-05-17/fix-sowing-object-destroy' into 'main'
Sowing bfort generation of XXXDestroy
See merge request petsc/petsc!7559
|
| #
0764c050
|
| 18-May-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Update sowing bfort for automatic generation of XXXDestroy() code
Fix some Fortran stub code to work with generation of XXXDestroy()
Add some runtime tests for XXXCreate() calls
Also update sowing
Update sowing bfort for automatic generation of XXXDestroy() code
Fix some Fortran stub code to work with generation of XXXDestroy()
Add some runtime tests for XXXCreate() calls
Also update sowing and fortranimpl.h to use PETSC_NULLPTR instead of NULL
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
|
| #
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
|
| #
679dad9e
|
| 16-Dec-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/fix-plex-periodic-faces' into 'main'
Knepley/fix plex periodic faces
See merge request petsc/petsc!5917
|
| #
46560f82
|
| 13-Dec-2022 |
Matthew G. Knepley <knepley@gmail.com> |
DM: Fortran bindings for DMSetField() and DMAddField()
|
| #
ee1f2e84
|
| 27-Nov-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
56584747
|
| 27-Nov-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-11-25/add-dm-view-load-fortran/release' into 'release'
Add missing Fortran stub and interface for DMLoad()
See merge request petsc/petsc!5875
|
| #
65071d22
|
| 25-Nov-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Add missing Fortran stub and interface for DMLoad()
Add Fortran interface for DMView()
Commit-type: feature /spend 10m Reported-by: Nicholas Arnold-Medabalimi <narnoldm@umich.edu>
|
| #
340b78e3
|
| 09-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'marboeuf/plex-naturalpointsf' into 'main'
Plex: create the natural point SF
See merge request petsc/petsc!5502
|
| #
412a4547
|
| 19-Jul-2022 |
Alexis Marboeuf <marboeua@mcmaster.ca> |
Fortran: add and implement a custom interface for DMCreateSubDM
The Fortran interface for DMCreateSubDM is now custom. CHECKFORTRANNULLOBJECT is used to allow the IS to be PETSC_NULL_IS.
|