[petsc-dev] MatMFFDSetType

Adrian Croucher a.croucher at auckland.ac.nz
Thu Jun 23 23:35:02 CDT 2016


On 24/06/16 15:58, Adrian Croucher wrote:
>
> I will try debugging into MatMFFDSetType() and seeing what it's doing 
> when I pass in "ds".
>

I did this. In MatMFFDSetType() (mffd.c: 116), it executes

   ierr = 
PetscObjectTypeCompare((PetscObject)mat,MATMFFD,&match);CHKERRQ(ierr);

which returns match = PETSC_FALSE. The next line

   if (!match) PetscFunctionReturn(0);

means it just returns out of there without doing anything.

- 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20160624/ced9b13b/attachment.html>


More information about the petsc-dev mailing list