[petsc-users] Can I reorder the matrix for iterative methods?

recrusader recrusader at gmail.com
Wed Mar 28 11:07:26 CDT 2012


Thank you very much, Matt and Hong.

Best,
Yujie

On Wed, Mar 28, 2012 at 11:00 AM, Hong Zhang <hzhang at mcs.anl.gov> wrote:

> You can also use runtime option:
> -pc_factor_mat_ordering_type <type>
> supported types:
> natural nd 1wd rcm qmd rowlength
>
> Hong
>
>
>
> On Wed, Mar 28, 2012 at 10:50 AM, Matthew Knepley <knepley at gmail.com>wrote:
>
>> On Wed, Mar 28, 2012 at 10:46 AM, recrusader <recrusader at gmail.com>wrote:
>>
>>> Dear PETSc developers,
>>>
>>>
>>> In order to reorder the matrix, I just find relevant functions for LU
>>> decomposition in "PC".
>>> My question is whether i can reorder the matrix and then use iterative
>>> method like gmres.
>>> If it works, how to do it? Thank you very much.
>>>
>>
>>
>> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/MatOrderings/MatGetOrdering.html
>>
>>    Matt
>>
>>
>>> Best,
>>> Yujie
>>>
>>
>>
>>
>> --
>> 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/20120328/a541ea50/attachment-0001.htm>


More information about the petsc-users mailing list