<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Hello,<br><br></div><div class="gmail_default" style="font-family:georgia,serif">I want to close the PETSc environment in the middle of my C program but want to retain the matrices generated in PETSc and access them using C program. How can i /(Can I) do this? <br><br></div><div class="gmail_default" style="font-family:georgia,serif">To be precise, i am solving eigenvalue system using SLEPc and i am using the results to decouple the system matrices. Now i want to run the Newmark integration code on those matrices. I am getting very slow performance by PETSc routines such as<br></div><div class="gmail_default" style="font-family:georgia,serif">MatGetColumnVector()<br></div><div class="gmail_default" style="font-family:georgia,serif">VecGetArray()<br></div><div class="gmail_default" style="font-family:georgia,serif">MatAXPY()<br></div><div class="gmail_default" style="font-family:georgia,serif">VecAXPBYPCZ()<br></div><div class="gmail_default" style="font-family:georgia,serif"> So i just want to close the PETSc environment and retain these matrices and solve using available Newmark code in C using mpi. Need your inputs.<br><br></div><div class="gmail_default" style="font-family:georgia,serif">Thank you very much<br></div><div class="gmail_default" style="font-family:georgia,serif"><br clear="all"></div><div><div class="gmail_signature"><div dir="ltr"><b><font face="georgia, serif">Siddhesh M Godbole</font></b><div><br></div><div><font color="#666666">5th year Dual Degree,</font></div><div><font color="#666666">Civil Eng & Applied Mech.</font></div><div><font color="#666666">IIT Madras</font></div></div></div></div>
</div>