1) Always use options. It makes you code generic and process more flexible 2) If after thinking for a few hours, you still really want to do it in the code:
http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/PC/PCBJacobiGetSubKSP.html Matt On Mon, Dec 7, 2009 at 11:52 AM, <hxie at umn.edu> wrote: > Hi, > > I try to customize the subksp for block jacobi method. Does anybody have an > fortran example for this? > For c language, we can declare "ksp *subksp". Then how for fortran? Thanks. > > Bests, > Hui > -- 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/20091207/ac9e73bf/attachment.htm>
