[petsc-dev] incomplete type error
Satish Balay
balay at mcs.anl.gov
Wed Sep 7 13:59:25 CDT 2011
ah - ok - perhaps you also need pcimpl.h, matimpl.h for this to work.
Generally we don't access mat stuff directly from ksp.
satish
On Wed, 7 Sep 2011, Daniel Lowell wrote:
> yes
>
> On Wed, Sep 7, 2011 at 1:46 PM, Satish Balay <balay at mcs.anl.gov> wrote:
>
> > Do you include kspimpl.h in your code?
> >
> > #include <private/kspimpl.h>
> >
> > Satish
> >
> >
> > On Wed, 7 Sep 2011, Daniel Lowell wrote:
> >
> > > In my KSP implementation I have this in my function KSPSolve_BCGSGPU(KSP
> > > ksp)
> > >
> > > (*ksp->pc->mat->ops->mult)(ksp->pc->mat,P,T);//where P and T are type
> > Vec
> > >
> > > I get this error from icc:
> > > bcgsgpu.c:222: error: dereferencing pointer to incomplete type.
> > >
> > > Not sure what I'm doing wrong here.
> > >
> >
> >
>
More information about the petsc-dev
mailing list