[petsc-dev] MatMFFDSetType

Barry Smith bsmith at mcs.anl.gov
Thu Jun 23 21:23:20 CDT 2016


  If your fortran function includes petscsnesdef.h does it work ok?



> On Jun 23, 2016, at 9:07 PM, Adrian Croucher <a.croucher at auckland.ac.nz> wrote:
> 
> hi
> 
> I'm trying to call MatMFFDSetType() from a Fortran code. It works OK if I do
> 
> call MatMFFDSetType(A, MATMFFD_WP, ierr)
> 
> but it fails to compile if I try
> 
> call MatMFFDSetType(A, MATMFFD_DS, ierr)
> 
> the error being:
> 
> Error: Symbol 'matmffd_ds' at (1) has no IMPLICIT type
> Is that a bug?
> 
> Cheers, Adrian
> -- 
> Dr Adrian Croucher
> Senior Research Fellow
> Department of Engineering Science
> University of Auckland, New Zealand
> email: 
> a.croucher at auckland.ac.nz
> 
> tel: +64 (0)9 923 84611
> 




More information about the petsc-dev mailing list