Using two different data types for KSPSetOperators

Keita Teranishi keita at cray.com
Tue Jun 17 17:15:42 CDT 2008


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
================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20080617/5be8e83b/attachment.htm>


More information about the petsc-users mailing list