set a column of a matrix

Matthew Knepley knepley at gmail.com
Sun Nov 1 07:19:36 CST 2009


This is not an efficient parallel operation. You should probably rework your
algorithm
so that it is not necessary.

  Matt

On Sun, Nov 1, 2009 at 6:01 AM, Umut Tabak <u.tabak at tudelft.nl> wrote:

> Dear all,
>
>     I would like to set a column of a matrix, I read through the manual
>     pages a bit... Since the matrices are row oriented in PETSc and
>     there is a function MatSetValuesRow, I guess transposing my
>     original matrix and then using this function is the best option I
>     could see for the moment. Could you comment on this?
>
>     BR,
>     Umut
> --
> Quote:          I love the name of honor, more than I fear death.
> Author:         Julius Caesar 101-44 BC, Roman Emperor
>



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091101/bec30776/attachment.htm>


More information about the petsc-users mailing list