[petsc-users] MatCreateComposite question

Nachiket Gokhale gokhalen at gmail.com
Thu Dec 13 14:20:43 CST 2012


Thanks, that seems to work.

On Thu, Dec 13, 2012 at 2:44 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

>
> 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/4128ba9e/attachment.html>


More information about the petsc-users mailing list