← Back to team overview

dolfin team mailing list archive

Re: Release of 0.9.10 today!(?)

 

On Wed, Feb 23, 2011 at 10:52:48AM +0100, Marie E. Rognes wrote:
> On 02/23/2011 10:20 AM, Marie E. Rognes wrote:
> >
> >Merge awaiting buildbot turning green. I'm working on the latter.
>
>
> Currently breaking at dg-advection-diffusion demo. Anyone
> immediately see what the problem is?

Yes, the newly added functions to UFC (topological_dimension, create
etc) are missing. You need to regenerate the form files using the
latest FFC. This has already been done in the main branch so it's
strange you didn't get those changes when you pulled.

The form files can be regenerated using

  cmake/scripts/generate-form-files

--
Anders


>
> /home/buildbot/buildbots/rognes/fenics-src/dolfin/demo/undocumented/dg-advection-diffusion/cpp/AdvectionDiffusion.h:
> In member function 'virtual ufc::finite_element*
> advectiondiffusion_finite_element_1::create_sub_element(unsigned
> int) const':
> /home/buildbot/buildbots/rognes/fenics-src/dolfin/demo/undocumented/dg-advection-diffusion/cpp/AdvectionDiffusion.h:5605:
> error: cannot allocate an object of abstract type
> 'advectiondiffusion_finite_element_0'
> /home/buildbot/buildbots/rognes/fenics-src/dolfin/demo/undocumented/dg-advection-diffusion/cpp/AdvectionDiffusion.h:38:
> note:   because the following virtual functions are pure within
> 'advectiondiffusion_finite_element_0':
> /home/buildbot/buildbots/rognes/fenics/include/ufc.h:125: note:
> 	virtual unsigned int ufc::finite_element::topological_dimension()
> const
> /home/buildbot/buildbots/rognes/fenics/include/ufc.h:128: note:
> 	virtual unsigned int ufc::finite_element::geometric_dimension()
> const
> /home/buildbot/buildbots/rognes/fenics/include/ufc.h:179: note:
> 	virtual void ufc::finite_element::map_from_reference_cell(double*,
> const double*, const ufc::cell&)
> /home/buildbot/buildbots/rognes/fenics/include/ufc.h:184: note:
> 	virtual void ufc::finite_element::map_to_reference_cell(double*,
> const double*, const ufc::cell&)
> /home/buildbot/buildbots/rognes/fenics/include/ufc.h:195: note:
> 	virtual ufc::finite_element* ufc::finite_element::create() const
>



References