<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 5/4/2014 8:03 AM, Matthew Knepley
wrote:<br>
</div>
<blockquote
cite="mid:CAMYG4Gmx6JSJ8m5xNBu9obDNa6wngaaYMAJxHgBQyx8b2grtRw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Fri, Apr 4, 2014 at 6:41 PM, TAY
wee-beng <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:zonexo@gmail.com" target="_blank">zonexo@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Supposed, I use DM to construct my grid. I would like to
know if DM can be used to update the ghost values easily?<br>
</blockquote>
<div><br>
</div>
<div>DMGlobalToLocalBegin/End().</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
If I can use staggered grid, does it mean I have to create
3 DM grids (x,y,z)?<br>
</blockquote>
<div><br>
</div>
<div>You can also just interpret components in different
ways. See SNES ex30.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Also, how can I solve the momentum eqn involving u,v,w
using KSP?<br>
</blockquote>
<div><br>
</div>
<div>-pc_type gamg.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
What examples can I follow for the above requirements?<br>
</blockquote>
<div><br>
</div>
<div>SNES ex43, ex62, KSP ex48.</div>
</div>
</div>
</div>
</blockquote>
<br>
Hi,<br>
<br>
I just checked. There's no ksp ex48. Are you referring to ex46?<br>
<br>
In ex46, it mentions that it is similar to ex2 but with DM.<br>
<br>
What is the advantage of DM?<br>
<br>
Also, Can I use non uniform grids with DM?<br>
<br>
Thanks<br>
<blockquote
cite="mid:CAMYG4Gmx6JSJ8m5xNBu9obDNa6wngaaYMAJxHgBQyx8b2grtRw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
<div> Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Yours sincerely,<br>
<br>
TAY wee-beng<br>
<br>
</font></span></blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
What most experimenters take for granted before they begin
their experiments is infinitely more interesting than any
results to which their experiments lead.<br>
-- Norbert Wiener
</div>
</div>
</blockquote>
<br>
</body>
</html>