<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>I want to use PETSc with mfem and I know that mfem people will
figure out a way to do it in few months. But for now as a
temporary solution I just thought of converting hypre PARCSR
matrices (that is what mfem uses as linear solver package) into
PETSc MPIAIJ matrices and I have a semi-working code with some
bugs. Also my code is dauntingly slow and seems like not scaling.
I have used <span class="st"><em>MatHYPRE_IJMatrixCopy </em>from
myhp.c of PETSc and <i>hypre_ParCSRMatrixPrintIJ</i> from
par_csr_matrix.c of hypre as starting points. Before starting I
checked whether there was anything done similar to this, I could
not find anything.</span></p>
<p><span class="st">My question is, are you aware of such a
conversion code (i.e. something like <i>hypre_ParCSRtoPETScMPIAIJ(
hypre_ParCSRMatrix *matrix, </i><i>Mat *A</i>)?</span></p>
<p><span class="st"><br>
Thanks in advance,<br>
Abdullah Ali Sivas<br>
</span></p>
</body>
</html>