Using two different data types for KSPSetOperators

Matthew Knepley knepley at gmail.com
Tue Jun 17 20:33:00 CDT 2008


Yes.

  Matt

On Tue, Jun 17, 2008 at 5:15 PM, Keita Teranishi <keita at cray.com> wrote:
> Hi,
>
>
>
> I'd like to make sure if it is legal to put different Matrix data type for
> Amat and Pmat in KSPSetOperators call.  For example, Amat is BAIJ and Pmat
> is AIJ.
>
> This situation could happen because BAIJ's MatMult is faster than AIJ's.
>
>
>
> KSPSetOperators(KSP ksp,Mat Amat,Mat Pmat,MatStructure flag)
>
>
>
> Thanks,
>
> ================================
>  Keita Teranishi
>  Math Software Group
>  Cray, Inc.
>  keita at cray.com
> ================================



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener




More information about the petsc-users mailing list