[petsc-dev] PetscSection

Jed Brown jedbrown at mcs.anl.gov
Fri Nov 9 20:42:18 CST 2012


On Fri, Nov 9, 2012 at 8:39 PM, Matthew Knepley <knepley at gmail.com> wrote:

> You are both right :) I don't care where we put them, but I want BCs
> and fields. However, this is no problem.
> Right now I do BCs and fields as PetscSections held inside the primary
> section. If IS can do what PetscSection
> can do, I can jsut use another IS for each one.
>

Convergence!


>
> I actually like it where it is. Stick with DMComplexVecGetClosure()
> with no section argument, and then
> the DM holds an IS++.
>

Cool, now the "normal" user doesn't even see the ++IS.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20121109/e5f6fa81/attachment.html>


More information about the petsc-dev mailing list