[petsc-dev] PetscSection
Matthew Knepley
knepley at gmail.com
Fri Nov 9 20:56:33 CST 2012
On Fri, Nov 9, 2012 at 9:46 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> 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! :-)
In the manual section on Unstructured Grids :)
Matt
>>
>> 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.
>
--
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
More information about the petsc-dev
mailing list