On Mon, Nov 7, 2011 at 5:28 PM, Alexander Grayver <agrayver at gfz-potsdam.de>wrote:
> ** > On 07.11.2011 17:47, Jed Brown wrote: > > On Mon, Nov 7, 2011 at 09:39, NAN ZHAO <zhaonanavril at gmail.com> wrote: > >> 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? >> > > Just create two KSP objects, one for each system you want to solve. > > > Sorry for disturbing, but I've also got similar question. How can one > specify individual options through command line for two different KSPs? > http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/KSP/KSPSetOptionsPrefix.html Matt -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111107/5202e130/attachment.htm>
