| 04974af7 | 15-Jul-2022 |
Alexis Marboeuf <marboeua@mcmaster.ca> |
PetscSF: fix and add Fortran binding
Fix Fortran binding of PetscSFDistributeSection: sf, rootSection, leafSection are now pointer. Note that the user should pass PETSC_NULL_INTEGER for the remoteOf
PetscSF: fix and add Fortran binding
Fix Fortran binding of PetscSFDistributeSection: sf, rootSection, leafSection are now pointer. Note that the user should pass PETSC_NULL_INTEGER for the remoteOffsets so it is impossible to get these remoteOffsets from Fortran.
Add Fortran 90 binding of PetscSFDistributeSectionF90: now CHKFORTRANNULLINTEGER is used on remoteOffsets so one can get these remoteOffsets when one calls the routine from Fortran. We use Fortran 90 1d Array.
Add Fortran 90 binding for PetscSFCreateSectionSFF90: mimicking the work done in PetscSFDistributeSectionF90 for handling the remoteOffsets. Note that the remoteOffsets are not allowed to be PETSC_NULL_INTEGER on all procs.
Add Fortran 90 binding for PetscSFCreateRemoteOffsetsF90: mimicking the work done in PetscSFDistributeSectionF90 for handling the remoteOffsets. From Fortran, one can now compute the remoteOffsets for calling PetscSFCreateSectionSFF90 without having to call PetscSFDistributeSectionF90.
Reported-by: Satish Balay <balay@mcs.anl.gov> Thanks-To: Satish Balay <balay@mcs.anl.gov>, Junchao Zhang <jczhang@mcs.anl.gov>, Barry Smith <bsmith@mcs.anl.gov>, Matthew Knepley <knepley@buffalo.edu>, Lisandro Dalcin <dalcinl@gmail.com>
show more ...
|
| 0c99d500 | 22-May-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Fixes for variables declared with const char **val and similar
E:\FGH\Git\Windows\petsc-3.17.1\src\sys\objects\options.c(716): warning C4090: 'function': different 'const' qualifiers E:\FGH\Git\Wind
Fixes for variables declared with const char **val and similar
E:\FGH\Git\Windows\petsc-3.17.1\src\sys\objects\options.c(716): warning C4090: 'function': different 'const' qualifiers E:\FGH\Git\Windows\petsc-3.17.1\src\sys\objects\options.c(757): warning C4090: 'function': different 'const' qualifiers
A PetscMalloc() that does not belong in index.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30133 for x64
Commit-type: portability-fix /spend 15m Reported-by: Henrik Büsing <Henrik.Buesing@fgh-ma.de>
show more ...
|