<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 07.11.2011 17:47, Jed Brown wrote:
<blockquote
cite="mid:CAM9tzSnRPn2CRN_pH5Lp5a=-oTdSA+82Ed+mOMeJgDDd+EM60w@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Mon, Nov 7, 2011 at 09:39, NAN ZHAO <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:zhaonanavril@gmail.com">zhaonanavril@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div>I want to solve a coupled system and prepare to solve the
two system in certain order in one code. I need to use the
KSP solver twice, Does anyone know a good example in the
example file. Do I need to create two Petsc object in a c++
code?</div>
</blockquote>
</div>
<br>
<div>Just create two KSP objects, one for each system you want to
solve.</div>
</blockquote>
<br>
Sorry for disturbing, but I've also got similar question. How can
one specify individual options through command line for two
different KSPs?<br>
</body>
</html>