← Back to team overview

dolfin team mailing list archive

Re: problem with vertexeval

 

My guess is that you have not installed DOLFIN. You need to do a make
install. Check the file

    /home/alex/dolfin/local/include/dolfin/FiniteElement.h

It looks like it has the old version of vertexeval(). It should look
like this:

    virtual void vertexeval(uint vertex_nodes[], ...) const = 0;

and not like this

    virtual void vertexeval(dolfin::real*, ...) const = 0;

/Anders


On Wed, Jun 14, 2006 at 09:56:37AM +0000, Alexander Jarosch wrote:
> See, thats my problem, I did pull the ffc right now and installed it and
> recompiled my forms and I still get those errors. anything special I
> have to do to update, like completely clean out everything and recompile
> everything?
> 
> Thanks,
> 
> /ALex
> 
> Anders Logg wrote:
> > On Tue, Jun 13, 2006 at 02:26:16PM +0000, Alexander Jarosch wrote:
> >   
> >> Hi,
> >>
> >> I just pulled the new dolfin and ffc codes and when I compile my codes I
> >> get thinks like that:
> >>
> >> make clean && make
> >> rm -f *.o core *.core main.o IceFem2D
> >> `dolfin-config --compiler` `dolfin-config --cflags` -c main.cpp
> >> In file included from main.cpp:7:
> >> Stokes.h: In constructor
> >> `dolfin::Stokes::BilinearForm::TestElement::TestElement()':
> >> Stokes.h:36: error: cannot allocate an object of type
> >> `dolfin::Stokes::BilinearForm::TestElement::SubElement_0'
> >> Stokes.h:36: error:   because the following virtual functions are abstract:
> >> /home/alex/dolfin/local/include/dolfin/FiniteElement.h:56: error: 
> >> virtual void dolfin::FiniteElement::vertexeval(dolfin::real*, unsigned
> >> int, const dolfin::real*, const dolfin::Mesh&) const
> >> Stokes.h:37: error: cannot allocate an object of type
> >> `dolfin::Stokes::BilinearForm::TestElement::SubElement_1'
> >> Stokes.h:37: error:   because the following virtual functions are abstract:
> >> /home/alex/dolfin/local/include/dolfin/FiniteElement.h:56: error: 
> >> virtual void dolfin::FiniteElement::vertexeval(dolfin::real*, unsigned
> >> int, const dolfin::real*, const dolfin::Mesh&) const
> >> Stokes.h: In constructor
> >> `dolfin::Stokes::BilinearForm::TrialElement::TrialElement()':
> >>
> >>
> >> is there anything broken at the moment in dolfin/ffc? I did not closely
> >> follow the dev emails the last two weeks...
> >>
> >> cheers,
> >>
> >> /ALex
> >>     
> >
> > You need to update FFC. The FFC/DOLFIN interface has changed in order
> > to accomodate some changes in the linear algebra library. Pull the
> > latest FFC and recompile your forms.
> >
> > /Anders
> >
> >
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> >
> >   
> 
> 



Follow ups

References