<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
No I'm not. Will using ptype2 or ksptype2 work?<br>
<pre class="moz-signature" cols="72">Yours sincerely,
TAY wee-beng</pre>
<br>
On 24/12/2011 3:07 PM, Matthew Knepley wrote:
<blockquote
cite="mid:CAMYG4Gm9CKB1jyfoG8ksQ+7_w32HQad-8tyROUrCndHHoK76xA@mail.gmail.com"
type="cite">On Sat, Dec 24, 2011 at 7:42 AM, TAY wee-beng <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:zonexo@gmail.com">zonexo@gmail.com</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I am solving 4 linear equations in my cfd code. I have
declared them as:<br>
<br>
KSP ksp,ksp_semi_x,ksp_semi_y,ksp_semi_z<br>
<br>
PC pc,pc_semi_x,pc_semi_y,pc_semi_z<br>
<br>
PCType ptype<br>
<br>
KSPType ksptype<br>
<br>
However, I only want to solve the 1st eqn via hypre (thru
command prompt), and the others via KSPBCGS.<br>
<br>
I now add:<br>
<br>
ksp_type richardson -pc_type hypre -pc_type_hypre boomeramg<br>
<br>
Are all the eqns now solved using hypre?<br>
<br>
How should I specify in the command prompt?</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>Are you using DMDA? If so, its easy to do PCFIELDSPLIT from
the command line.</div>
<div><br>
</div>
<div> Matt </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<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<br>
</blockquote>
</body>
</html>