[petsc-users] Change the matrix row order

Smith, Barry F. bsmith at mcs.anl.gov
Tue Apr 10 10:07:04 CDT 2018


   When and where do you want to change the row order?

   For PETSc and external factorization based solvers this is handled automatically, no need to do anything.

   The ordering of matrix rows corresponds to the ordering of the vectors; almost always one partitions and orders the vectors based on the mesh that underlies the problem and there is no reason to reorder once the layout is initially determined.

   Barry



> On Apr 10, 2018, at 8:42 AM, 我 <dayedut123 at 163.com> wrote:
> 
> Hello,
> I want to change the row order of a sparse matrix. Are there any build-in functions and suggestions?
> Thank you very much!
> Daye
> 
> 
>  



More information about the petsc-users mailing list