| #
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 ...
|
| #
2eab0914
|
| 20-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/housekeeping' into 'main'
Housekeeping
See merge request petsc/petsc!8213
|
| #
65960ac8
|
| 20-Mar-2025 |
Pierre Jolivet <pierre@joliv.et> |
Fix Fortran
|
| #
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 ...
|
| #
d8e47b63
|
| 17-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'
Compiler finds (and forbid) casts from higher precision integers to lower
See merge request petsc/petsc!7806
|
| #
6497c311
|
| 25-Aug-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']
Also fix the code to repository to compile cleanly with these flags in th
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']
Also fix the code to repository to compile cleanly with these flags in the CI
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 ...
|
| #
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
|
| #
a7697ee4
|
| 19-Jan-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'narnoldm/petscsf-add-petscsfreduce' into 'main'
PetscSF: Add Fortran Interface for PetscSFReduce
See merge request petsc/petsc!5987
|
| #
9037d788
|
| 19-Jan-2023 |
Nicholas Arnold-Medabalimi <narnoldm@umich.edu> |
PetscSF: Add Fortran Interface for PetscSFReduce
|
| #
7a5f5397
|
| 18-Jan-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jczhang/add-petscsf-fortran' into 'main'
Add Fortran binding for PetscSFGet{Leaf,Root}Ranks
See merge request petsc/petsc!5860
|
| #
94a885e8
|
| 20-Nov-2022 |
Junchao Zhang <jczhang@mcs.anl.gov> |
SF: add Fortran binding for PetscSFGetLeaf/RootRanks
|
| #
c043d5d4
|
| 29-Nov-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
935c47a1
|
| 29-Nov-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2021-11-26/fix-petscsfgetgraph-fortran/release' into 'release'
Fix Fortran stub for PetscSFGetGraph() to support returning PETSC_NULL_INTEGER leaf array
See merge request petsc/
Merge branch 'barry/2021-11-26/fix-petscsfgetgraph-fortran/release' into 'release'
Fix Fortran stub for PetscSFGetGraph() to support returning PETSC_NULL_INTEGER leaf array
See merge request petsc/petsc!4605
show more ...
|
| #
8dbb0df6
|
| 26-Nov-2021 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix Fortran stub for PetscSFGetGraph() to support returning PETSC_NULL_INTEGER leaf array
Fix Fortran stub for PetscSFSetGraph() to support passing in PETSC_NULL_INTEGER leaf array
Commit-type: bug
Fix Fortran stub for PetscSFGetGraph() to support returning PETSC_NULL_INTEGER leaf array
Fix Fortran stub for PetscSFSetGraph() to support passing in PETSC_NULL_INTEGER leaf array
Commit-type: bug-fix \spend 30m Reported-by: <yuanxi@advancesoft.jp>
show more ...
|
| #
a8cf78f8
|
| 24-May-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2021-05-16/fix-double-lines' into 'main'
Fix typos in source
See merge request petsc/petsc!3984
|