[petsc-users] Creating explicit matrix scatter

Thomas Witkowski thomas.witkowski at tu-dresden.de
Sat Dec 8 09:11:16 CST 2012


Am 08.12.2012 15:37, schrieb Jed Brown:
> How about MatPermute() in a suitable place?
Not really. I thing, I will try to solve the problem differently and 
avoid this matrix construction.

Thomas

>
> I don't know why you would need such a thing.
>
> On Sat, Dec 8, 2012 at 6:33 AM, Thomas Witkowski 
> <thomas.witkowski at tu-dresden.de 
> <mailto:thomas.witkowski at tu-dresden.de>> wrote:
>
>     I checked the documentation of MatGetSubMatrix() and found the
>     following:
>
>     "The rows in isrow will be sorted into the same order as the
>     original matrix on each process."
>
>     For my case, this will be wrong. I need to say each task exactly
>     which row from the old matrix should be which row in the new
>     matrix. Any other possibility to do this?
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20121208/c28efa1d/attachment.html>


More information about the petsc-users mailing list