[petsc-users] EXTERNAL: Re: EXTERNAL: Re: Upgrading from petsc 3.2-p7 to 3.3-p5

Jed Brown jed at jedbrown.org
Thu Jan 23 12:24:32 CST 2014


Wadud.Miah at awe.co.uk writes:

> Hi Satish,
>
> When should the subroutine:
>
> MatSetOption( mat,MAT_NEW_NONZERO_ALLOCATION_ERR,PETSC_FALSE )
>
> be called? I currently have the following calling sequence:
>
> 1. MatCreate
> 2. MatSetSizes
> 3. MatSetType
> 4. MatMPIAIJSetPreallocation

here

> 5. MatSetValues
> 6. MatAssemblyBegin
> 7. MatAssemblyEnd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140123/ab2b17af/attachment.pgp>


More information about the petsc-users mailing list