[petsc-users] Convert MatNest to MatAIJ

Thomas Witkowski thomas.witkowski at tu-dresden.de
Wed Oct 10 08:30:27 CDT 2012


Is there a fast way to convert a MatNest to a MatAIJ? I tried to use 
MatConvert, but it seems that this convert is not yet implemented. As I 
need this functionality to factorize the nested matrix with MUMPS, is 
there any better way than to extract the nested matrices, iterate over 
all rows of these matrices and use MatSetValues to add them again to the 
final MatAIJ?

Thomas


More information about the petsc-users mailing list