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/20120624/35577ff0/attachment.html>
