| 260663b8 | 05-Jan-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Added F90 interfaces for several PetscObjectXXX() operations; Add various F90 support for Mat operations
MatCreateSchurComplement is missing a custom wrapper with CHKFORTRANNULLOBJECT, so I can't pr
Added F90 interfaces for several PetscObjectXXX() operations; Add various F90 support for Mat operations
MatCreateSchurComplement is missing a custom wrapper with CHKFORTRANNULLOBJECT, so I can't provide a PETSC_NULL_MAT for the optional A22 block, where previously I could use PETSC_NULL_OBJECT. As a workaround it seems I can provide it with a tMat(0) argument
* PetscObjectReference also does not have a wrapper. Calling it with the %v attribute of the derived type seems to work however.
* Previously we had the following calling sequence:
call MatGetNullSpace(mat, nullsp, ierr) if (ierr==0 .and. nullsp/=PETSC_NULL_OBJECT) then call MatNullSpaceRemove(nullsp, b, ierr) end if
Now there doesn't seem to be a PETSC_NULL_MATNULLSPACE and even if there were, MatGetNullSpace isn't wrapped to return it.
* there is also no PETSC_NULL_RANDOM so no way to leave out the Random object in VecSetRandom()
* not really important, but MatGetOwnerShip no longer works with PETSC_NULL_INTEGER as advertized.
Commit-type: feature Reported-by: Stephan Kramer <s.kramer@imperial.ac.uk>
show more ...
|