[petsc-users] create a matrix in C++ constructor

Umut Tabak u.tabak at tudelft.nl
Mon Dec 21 17:54:56 CST 2009


Matthew Knepley wrote:
> Then it is not MatCreate() causing your SEGV.
>
>   Matt
>
Dear Matthew,

Attached are the makefile and the test codes for this crash. When I 
check with ddd, I get the crash on that line.
Best,
Umut
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: makefile
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091222/9979807c/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: petscMatrix.cc
Type: text/x-c++src
Size: 1587 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091222/9979807c/attachment-0002.cc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: petscMatrix.h
Type: text/x-chdr
Size: 507 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091222/9979807c/attachment-0001.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testMatrix.cc
Type: text/x-c++src
Size: 114 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091222/9979807c/attachment-0003.cc>


More information about the petsc-users mailing list