[Dune] [#620] testfem doesn't compile

Dune dune at dune-project.org
Mon Oct 5 15:03:19 CEST 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Oliver Sander (sander) 

Attached to Project - Dune
Summary - testfem doesn't compile
Task Type - Bug Report
Category - Localfunctions
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Medium
Priority - Normal
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - The test 'testfem' in dune-localfunctions doesn't compile. The reason seems to be Raviart-Thomas-Elements. Here's the screen dump

sander at 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<LB>::interpolate(const F&, std::vector<C, std::allocator<C> >&) 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<LB>::interpolate(const F&, std::vector<C, std::allocator<C> >&) 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> >](0u) = 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>]    

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=620

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list