[petsc-users] Number of Matrices with -snes_mf and -snes_mf_operator

Matthew Knepley knepley at gmail.com
Thu Mar 1 12:13:42 CST 2012


On Thu, Mar 1, 2012 at 11:24 AM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> On Thu, Mar 1, 2012 at 10:40, Derek Gaston <friedmud at gmail.com> wrote:
>
>> I see, so one of those is the MFFD which really isn't taking up much
>> space.  I suppose that's why going from 2->3 matrices ~doubled the memory.
>>
>> So there's probably nothing wrong here... those matrices are needed and
>> really do take up that much memory... damn ;-)
>>
>
> When you run with -snes_view, you see the number of nonzeros for all
> matrices in the system. Third order elements are really expensive.
>

You might consider applying this operator matrix-free, and using a low
order approximation for the preconditioning matrix.

   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-users/attachments/20120301/e6d60c5e/attachment.htm>


More information about the petsc-users mailing list