In reply,<div><br></div><div>Yes , I meant with MatCopy or MatConvert.</div><div><br></div><div>I need the values so I can store them in a larger matrix for latter use. It is in process of working on an experimental multilevel method.</div>
<div><br></div><div>Josh</div><div><br><br><div class="gmail_quote">On Wed, Mar 2, 2011 at 7:36 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On Mar 2, 2011, at 6:12 PM, Joshua Booth wrote:<br>
<br>
> In petsc, I am able to get a cholesky factor matrix from MatCholeskyFactor, but I am unable to copy<br>
<br>
</div> Do you mean MatCopy() ?<br>
<div class="im"><br>
> or get values from it after.<br>
<br>
</div> What do you want to use the values for? Normally they are only used in triangular solvers with MatSolve().<br>
<br>
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<br>
<font color="#888888"><br>
<br>
Barry<br>
</font><div><div></div><div class="h5"><br>
> Why is this? Is there a work around?<br>
><br>
> Joshua Booth<br>
<br>
</div></div></blockquote></div><br></div>