Skip to content

#620 testfem doesn't compile

Metadata

Property Value
Reported by Oliver Sander (oliver.sander@tu-dresden.de)
Reported at Oct 5, 2009 13:03
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Oliver Sander (oliver.sander@tu-dresden.de)
Last edited at Dec 26, 2009 17:31
Closed by Oliver Sander (oliver.sander@tu-dresden.de)
Closed at Dec 26, 2009 17:31
Closed in version Unknown
Resolution Fixed
Comment I cannot reproduce this anymore. It seems to be fixed, though I don't know by whom.

Description

The test 'testfem' in dune-localfunctions doesn't compile. The reason seems to be Raviart-Thomas-Elements. Here's the screen dump

sander@haile:/export/local-1/daten/users/sander/dune-test-psurface/dune-localfunctions/dune/finiteelements/test$ make testfem g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../.. -I/home/haile/sander/dune-test-psurface/dune-common -I/home/haile/sander/dune-test-psurface/dune-grid -g -MT testfem.o -MD -MP -MF .deps/testfem.Tpo -c -o testfem.o testfem.cc
../rt02d/rt02dlocalinterpolation.hh: In member function ‘void Dune::RT02DLocalInterpolation::interpolate(const F&, std::vector<C, std::allocator >&) const [with F = Func, C = double, LB = Dune::RT02DLocalBasis<double, double>]’:
testfem.cc:146: instantiated from ‘bool testFE(const FE&) [with FE = Dune::RT02DLocalFiniteElement<double, double>]’
testfem.cc:232: instantiated from here
../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class Func’
../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class Func’
testfem.cc:146: instantiated from ‘bool testFE(const FE&) [with FE = Dune::RT02DLocalFiniteElement<double, double>]’
testfem.cc:232: instantiated from here
../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class Func’
../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class Func’
../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class Func’
../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class Func’
../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class Func’
../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class Func’
../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class Func’
../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class Func’
../rt02d/rt02dlocalinterpolation.hh: In member function ‘void Dune::RT02DLocalInterpolation::interpolate(const F&, std::vector<C, std::allocator >&) const [with F = LocalFEFunction<Dune::RT02DLocalFiniteElement<double, double> >, C = double, LB = Dune::RT02DLocalBasis<double, double>]’:
testfem.cc:111: instantiated from ‘bool testLocalInterpolation(const FE&, int) [with FE = Dune::RT02DLocalFiniteElement<double, double>]’
testfem.cc:148: instantiated from ‘bool testFE(const FE&) [with FE = Dune::RT02DLocalFiniteElement<double, double>]’
testfem.cc:232: instantiated from here
../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class LocalFEFunction<Dune::RT02DLocalFiniteElement<double, double> >’ ../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class LocalFEFunction<Dune::RT02DLocalFiniteElement<double, double> >’ ../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class LocalFEFunction<Dune::RT02DLocalFiniteElement<double, double> >’ ../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class LocalFEFunction<Dune::RT02DLocalFiniteElement<double, double> >’ ../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class LocalFEFunction<Dune::RT02DLocalFiniteElement<double, double> >’ ../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class LocalFEFunction<Dune::RT02DLocalFiniteElement<double, double> >’ ../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class LocalFEFunction<Dune::RT02DLocalFiniteElement<double, double> >’ ../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class LocalFEFunction<Dune::RT02DLocalFiniteElement<double, double> >’ ../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class LocalFEFunction<Dune::RT02DLocalFiniteElement<double, double> >’ ../rt02d/rt02dlocalinterpolation.hh:43: error: no type named ‘Traits’ in ‘class LocalFEFunction<Dune::RT02DLocalFiniteElement<double, double> >’ ../edger02d/edger02dlocalbasis.hh: In member function ‘void Dune::EdgeR02DLocalBasis<D, R>::evaluateJacobian(const typename Dune::C1LocalBasisTraits<D, 2, Dune::FieldVector<K, 2>, R, 2, Dune::FieldVector<R, 3>, Dune::FieldVector<Dune::FieldVector<R, 2>, 1> >::DomainType&, std::vector<typename Dune::C1LocalBasisTraits<D, 2, Dune::FieldVector<K, 2>, R, 2, Dune::FieldVector<R, 3>, Dune::FieldVector<Dune::FieldVector<R, 2>, 1> >::JacobianType, std::allocator<typename Dune::C1LocalBasisTraits<D, 2, Dune::FieldVector<K, 2>, R, 2, Dune::FieldVector<R, 3>, Dune::FieldVector<Dune::FieldVector<R, 2>, 1> >::JacobianType> >&) const [with D = double, R = double]’:
testfem.cc:250: instantiated from here
../edger02d/edger02dlocalbasis.hh:71: error: no match for ‘operator=’ in ‘((std::vector<Dune::FieldVector<Dune::FieldVector<double, 2>, 1>, std::allocator<Dune::FieldVector<Dune::FieldVector<double, 2>, 1> > >*)out)->std::vector<_Tp, _Alloc>::operator[] with _Tp = Dune::FieldVector<Dune::FieldVector<double, 2>, 1>, _Alloc = std::allocator<Dune::FieldVector<Dune::FieldVector<double, 2>, 1> > = 0’
/home/haile/sander/dune-test-psurface/dune-common/dune/common/fvector.hh:800: note: candidates are: Dune::FieldVector<K, 1>& Dune::FieldVector<K, 1>::operator=(const K&) [with K = Dune::FieldVector<double, 2>]