[petsc-users] Could you add MatRealPart() and MatImaginaryPart( ) with SEQ- and MPI-Dense for me?

Yujie recrusader at gmail.com
Thu Feb 25 14:06:50 CST 2010


I also compare the position of functions you added in mpidense.c with
aij.c. You likely made a mistake. The information is as follows
from mpidense.c
" 1589 /*99*/ 0,

  1590        0,

  1591        0,

  1592        MatConjugate_MPIDense,

  1593        0,

  1594 /*104*/0,

  1595        MatRealPart_MPIDense,

  1596        MatImaginaryPart_MPIDense,

  1597        0

  1598 }; "

from aij.c
"
2563: /*100*/MatPtAPNumeric_SeqAIJ_SeqAIJ,
2564:        0,
2565:        0,
2566:        MatConjugate_SeqAIJ,
2567:        0,
2568: /*105*/MatSetValuesRow_SeqAIJ,
2569:        MatRealPart_SeqAIJ,
2570:        MatImaginaryPart_SeqAIJ,
2571:        0,
2572:        0,
2573: /*110*/0,
2574:        0,
2575:        MatGetRowMin_SeqAIJ,
2576:        0,
2577:        MatMissingDiagonal_SeqAIJ
2578: };
"
Thanks,
Yujie


On Thu, Feb 25, 2010 at 12:25 PM, Jed Brown <jed at 59a2.org> wrote:
>
> On Thu, 25 Feb 2010 12:02:54 -0600, Yujie <recrusader at gmail.com> wrote:
> > Thanks, Jed. Dense has the same loop for entries with AIJ like
>
> Never mind, I just put it into petsc-dev
>
>  http://petsc.cs.iit.edu/petsc/petsc-dev/rev/326aecc4d312
>
> I haven't tested it, so let me know if I messed up.
>
> Jed


More information about the petsc-users mailing list