← Back to team overview

dolfin team mailing list archive

Re: problem with vertexeval

 

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




Follow ups

References