[petsc-users] about ksp

Likun Tan likunt at andrew.cmu.edu
Mon Aug 29 09:59:41 CDT 2011


Thanks,

I read ex16.c, it seems that the two linear equations are solved
sequentially?



On Mon, August 29, 2011 10:52 am, Satish Balay wrote:
> On Mon, 29 Aug 2011, Matthew Knepley wrote:
>
>
>> On Mon, Aug 29, 2011 at 2:40 PM, Likun Tan <likunt at andrew.cmu.edu>
>> wrote:
>>
>>
>>> Dear all,
>>>
>>>
>>> I have linear systems Ax=b with different right-hand-side vectors.
>>> These
>>> vectors are independent. Could i generate b simultaneously and solve
>>> Ax=b
>>> simultaneously?
>>>
>>
>> Unfortunately, no one has figured out how to exploit this for Krylov
>> methods.
>>
>
> Also - check ksp/ksp/examples/tutorials/ex16.c
>
>
> Satish
>
>
>






More information about the petsc-users mailing list