[petsc-users] Error using the same ksp with different operator sizes

Eloy Romero elroal at upvnet.upv.es
Thu May 13 10:07:13 CDT 2010


On 05/13/2010 04:41 PM, Matthew Knepley wrote:
>
>     In my application, a ksp configured by the user is given, and I
>     would like to use that configuration for solving all the linear
>     systems. Creating new ksps and configuring them with
>     KSPSetFromOptions is not a complete solution because the user
>     could modify the ksp by code.
>
>
> You can replicate all the KSP settings in the new KSP. They are all 
> available by the API.
>
>    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

Are you suggesting that I have to call _all_ KSPGet* routines and then 
the corresponding KSPSet* routines in order to copy a ksp object?

Thanks for your time,

Eloy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100513/2f5f0aad/attachment.htm>


More information about the petsc-users mailing list