[petsc-users] Factor Matrix

Barry Smith bsmith at mcs.anl.gov
Wed Mar 2 18:36:35 CST 2011


On Mar 2, 2011, at 6:12 PM, Joshua Booth wrote:

> In petsc, I am able to get a cholesky factor matrix from MatCholeskyFactor, but I am unable to copy

   Do you mean MatCopy() ? 

> or get values from it after.  

   What do you want to use the values for? Normally they are only used in triangular solvers with MatSolve().

   The data is stored in a matrix specific format. You would have to include the private include files and access the data directly if you need it. src/mat/impls/sbaij/seq/sbaij.h


   Barry

> Why is this?  Is there a work around?
> 
> Joshua Booth



More information about the petsc-users mailing list