[petsc-dev] PetscSection

Barry Smith bsmith at mcs.anl.gov
Fri Nov 9 20:46:00 CST 2012

On Nov 9, 2012, at 8:42 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> 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!

   Write it up!   :-)

> 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.

More information about the petsc-dev mailing list