<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dear Dr. Brown, <br>
Thanks for your reply and sorry for confusing you. <br>
I was trying to ask if there is an alternative way that I can
replace the DMDACreate3d in /src/ksp/ksp/example/tutorials/ex45.c
with something from outside of the PETSc (i.e. HYPRE).
DMDACreate3d generates a 3D Cartesian grid with uniform grid size.
However, I'm trying to import a local refined grid from outside of
the PETSc (i.e. HYPRE) to replace this 3D Cartesian grid with
unifrom grid size. Is there any examples for me to refer?<br>
<br>
thanks,<br>
Alan<br>
<br>
</div>
<blockquote
cite="mid:CAM9tzSn-EXDtDELb+=Y1D-3nmf_MB=7f5LL5VrA+7WkTZSaZPA@mail.gmail.com"
type="cite">Run any example with -pc_type hypre. I'm not sure what
you're asking for.<br>
<br>
<div class="gmail_quote">On Sat, Oct 6, 2012 at 8:04 PM, Alan <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:zhenglun.wei@gmail.com" target="_blank">zhenglun.wei@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Folks,<br>
I hope you're having a nice day.<br>
I'm trying to couple HYPRE with PETSc in order to use PETSc
solvers to<br>
obtain solutions (Poisson Equation) with local refined grid
from HYPRE.<br>
Is there any examples in PETSc that I can refer? or is there
any<br>
examples in PETSc which introduce such a way that the Matrix
is imported<br>
from external software rather than generated by PETSc.<br>
<br>
thanks,<br>
Alan<br>
<br>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>