[petsc-dev] preallocation

Matthew Knepley knepley at gmail.com
Tue Sep 20 11:23:37 CDT 2011


On Tue, Sep 20, 2011 at 11:14 AM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> On Tue, Sep 20, 2011 at 18:06, Matthew Knepley <knepley at gmail.com> wrote:
>
>> I disagree with this. I think the correct reduction in complexity is for
>> the DM to call all relevant versions.
>>
>
> Many people do not use the DM. I'm working with an unstructured FV code
> right now that has never heard of DM. It's just a matter of keeping the
> purely algebraic as simple as possible.
>

You should still use a DM for this. And if not, you live with the
complexity. I think making the algebraic more complex
(hidden dependencies break things) is not the right way to do it.

  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110920/7bd58bde/attachment.html>


More information about the petsc-dev mailing list