[petsc-users] MatCreateComposite question

Jed Brown jedbrown at mcs.anl.gov
Thu Dec 13 13:44:34 CST 2012


https://bitbucket.org/petsc/petsc-3.3/commits/ceb522f2c6640c2934693f744f823595bb0438fc


On Thu, Dec 13, 2012 at 11:40 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
> On Dec 13, 2012, at 12:55 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>
> > That's because the check isn't firing in optimized mode.
> >
> > Barry, should MatCreate_Composite() set mat->preallocated = TRUE because
> preallocation is implicit for composite matrices, or should the
> user/MatCreateComposite() be responsible for calling MatSetUp()?
>
>   I am fine with having it click to mat->preallocated automatically for
> now.
>
>   Barry
>
> >
> >
> > On Thu, Dec 13, 2012 at 10:47 AM, Nachiket Gokhale <gokhalen at gmail.com>
> wrote:
> > Sorry for replying to my own question, but it seems to be working in
> optimized mode, but not in Debug mode, which is strange.  -Nachiket
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20121213/43fabedf/attachment.html>


More information about the petsc-users mailing list