[petsc-users] Using ghosted vector as 'x' in KSPSolve

Алексей Рязанов ram at ibrae.ac.ru
Wed Oct 19 16:49:07 CDT 2011


COOL! )

2011/10/19 Matthew Knepley <knepley at gmail.com>

> On Wed, Oct 19, 2011 at 5:42 PM, Dominik Szczerba <dominik at itis.ethz.ch>wrote:
>
>>
>>
>> On Wed, Oct 12, 2011 at 1:43 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>>
>>> On Wed, Oct 12, 2011 at 06:38, Dominik Szczerba <dominik at itis.ethz.ch>wrote:
>>>
>>>> Is it legal to call KSPSolve with the solution vector being a
>>>> ghost-aware vector created e.g. with VecCreateGhost?
>>>>
>>>
>>> Yes
>>>
>>> Would that also mean, that 'b' vector can also be ghosted? That would be
>> really cool...
>>
>
> In PETSc, ghosted vectors just have extra information, so they can always
> be used as
> normal vectors.
>
>    Matt
>
>
>> Many thanks,
>> Dominik
>>
> --
> 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
>



-- 
Best regards,
Alexey Ryazanov
______________________________________
Nuclear Safety Institute of Russian Academy of Sciences
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111020/d0699690/attachment.htm>


More information about the petsc-users mailing list