On Thu, Oct 27, 2011 at 08:54, Paul Sicsic <paul.sicsic at polytechnique.edu>wrote:
> SubRoutine IJacobianPoisson(dummyTS, t, U, Udot, a, Jac, PreJac, AppCtx, > iErr) > Type(TS) :: dummyTS > PetscReal :: t, a > Type(Vec) :: U, Udot > Type(Mat) :: Jac, PreJac > Type(AppCtx_Type) :: AppCtx > PetscInt :: iErr > You are missing the MatStructure argument here. Add that and your AppCtx should come through correctly. (This produces a warning in sane languages like C because the function type is checked.) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111027/a64a556f/attachment.html>
