[petsc-users] Question about Matrix Free

behzad baghapour behzad.baghapour at gmail.com
Mon Jun 25 11:03:34 CDT 2012


I see. Thank you.

On Mon, Jun 25, 2012 at 3:50 AM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> On Sun, Jun 24, 2012 at 3:41 PM, Matthew Knepley <knepley at gmail.com>wrote:
>
>> On Sun, Jun 24, 2012 at 1:34 PM, behzad baghapour <
>> behzad.baghapour at gmail.com> wrote:
>>
>>> Would you please explain more ? Did you mean the void type of the
>>> matrix-vector kernel ?
>>>
>>
>> The return type MUST be PetscErrorCode
>
>
> Also, if you are going to use a C++ class method, you MUST declare it
> static.
>
>
> Finally, always include the whole error message. The stack trace is a very
> important part, bet please always paste the whole thing into the email. It
> is false economy to not include the whole thing.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120625/15c025c5/attachment-0001.html>


More information about the petsc-users mailing list