How to declare an array of ksp object in fortran?

Matthew Knepley knepley at gmail.com
Mon Dec 7 14:02:48 CST 2009


I realized you only wanted to know how to declare the array. It is just a
normal F77 array.

  Matt

On Mon, Dec 7, 2009 at 2:00 PM, Matthew Knepley <knepley at gmail.com> wrote:

> 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
>



-- 
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/4059fcec/attachment.htm>


More information about the petsc-users mailing list