[petsc-users] near null space redundant
Anton
popov at uni-mainz.de
Thu Mar 5 14:18:45 CST 2015
On 3/5/15 4:18 PM, Matthew Knepley wrote:
> On Thu, Mar 5, 2015 at 5:01 AM, anton <popov at uni-mainz.de
> <mailto:popov at uni-mainz.de>> wrote:
>
> Hi,
>
> Does the near-null-space get attached to the internal ksp object
> of redundant preconditioner, or a user has to scatter and attach
> it manually?
> If so, what would be a suggested way to do that?
>
>
> Its not there, but would be easy to put in. I would either
>
> a) Open an issue with the Bitbucket tracker, and someone will get to it
>
> or
>
> b) Code it up in a pull request
>
> I think it would only be a few lines in PCSetUp_Redundant(). You check
> whether the pc->mat has
> an attached near null space, and then use the VecScatters above to map
> the vectors, and carry
> over the flag for constant null space.
>
> Thanks,
>
> Matt
Thanks Matt, I'll check this
Anton
>
> Thanks,
>
> Anton
>
>
>
>
> --
> 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/20150305/14d5e218/attachment.html>
More information about the petsc-users
mailing list