[Dune] [#657] test-geogrid doesn't compile

Dune dune at dune-project.org
Wed Nov 11 15:47:17 CET 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 - test-geogrid doesn't compile
Task Type - Bug Report
Category - Grid
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Medium
Priority - Normal
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - sander at haile:/export/local-1/daten/users/sander/dune/dune-grid/dune/grid/test$ g++ --version
g++ (Debian 4.3.4-5) 4.3.4

sander at haile:/export/local-1/daten/users/sander/dune/dune-grid/dune/grid/test$ make test-geogrid CXXFLAGS=-w
g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../..  -I/home/haile/sander/dune/dune-common -I/home/haile/sander/alberta-inst/include/alberta -DALBERTA_DIM=2 -DENABLE_ALBERTA -I/home/haile/sander/uginst/include -DENABLE_UG -I/home/haile/sander/libamiramesh/include -I/home/haile/sander/libpsurface/include -I/home/haile/sander/aluinst/include -I/home/haile/sander/aluinst/include/serial -I/home/haile/sander/aluinst/include/duneinterface -DENABLE_ALUGRID  -I/home/haile/sander/dune/dune-common -I../../.. -DDUNE_DEVEL_MODE -DCOORDFUNCTION=Helix -DCACHECOORDFUNCTION=0   -w -MT test_geogrid-test-geogrid.o -MD -MP -MF .deps/test_geogrid-test-geogrid.Tpo -c -o test_geogrid-test-geogrid.o `test -f 'test-geogrid.cc' || echo './'`test-geogrid.cc                                                                     
.../../../dune/grid/geometrygrid/cornerstorage.hh: In member function ‘void Dune::GeoGrid::CoordFunctionCaller<HostEntity, Dune::AnalyticalCoordFunctionInterface<ct, dimD, dimR, Impl> >::evaluate(unsigned int, typename Dune::AnalyticalCoordFunctionInterface<ct, dimD, dimR, Impl>::RangeVector&) const [with HostEntity = Dune::Entity<0, 3, const Dune::YaspGrid<3>, Dune::YaspEntity>, ct = double, unsigned int dimD = 2u, unsigned int dimR = 3u, Impl = Dune::Helix]’:                                                                        
.../../../dune/grid/geometrygrid/cornerstorage.hh:137:   instantiated from ‘void Dune::GeoGrid::CoordVector<mydim, Grid, false>::calculate(Dune::FieldVector<typename std::remove_const<V>::type::Traits::ctype, Dune::GeoGrid::CoordVector<mydim, Grid, false>::dimensionworld> (&)[numCorners]) const [with unsigned int numCorners = 4u, int mydim = 3, Grid = const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>]’                                                                                                                             
.../../../dune/grid/geometrygrid/cornerstorage.hh:272:   instantiated from ‘Dune::GeoGrid::CornerStorage<Topology, Grid>::CornerStorage(const Dune::GeoGrid::CoordVector<Dune::GeoGrid::CornerStorage<Topology, Grid>::mydimension, Grid, fake>&) [with bool fake = false, Topology = Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Point> > >, Grid = const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>]’                                                                  
.../../../dune/grid/genericgeometry/cornermapping.hh:560:   instantiated from ‘Dune::GenericGeometry::CornerMapping<CoordTraits, Topo, dimW, CStorage, affine>::CornerMapping(const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<3, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, CoordTraits = Dune::GenericGeometry::DuneCoordTraits<double>, Topo = Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Point> > >, unsigned int dimW = 3u, CStorage = Dune::GeoGrid::CornerStorage<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Point> > >, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >, bool affine = false]’                         
.../../../dune/grid/genericgeometry/mapping.hh:67:   instantiated from ‘Dune::GenericGeometry::Mapping<CoordTraits, Topo, dimW, Impl>::Mapping(const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<3, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, CoordTraits = Dune::GenericGeometry::DuneCoordTraits<double>, Topo = Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Point> > >, int dimW = 3, Impl = Dune::GenericGeometry::CornerMapping<Dune::GenericGeometry::DuneCoordTraits<double>, Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Point> > >, 3u, Dune::GeoGrid::CornerStorage<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Point> > >, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >, false>]’
.../../../dune/grid/genericgeometry/cachedmapping.hh:92:   instantiated from ‘Dune::GenericGeometry::CachedMapping<Topology, GeometryTraits>::CachedMapping(const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<3, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, Topology = Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Point> > >, GeometryTraits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >]’                                                                                                                       
.../../../dune/grid/genericgeometry/hybridmapping.hh:231:   instantiated from ‘Dune::GenericGeometry::VirtualMapping<Topology, GeometryTraits>::VirtualMapping(const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<3, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, Topology = Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Point> > >, GeometryTraits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >]’                                                                                                                    
.../../../dune/grid/genericgeometry/mappingprovider.hh:56:   instantiated from ‘static Dune::GenericGeometry::HybridMapping<dim, GeometryTraits>* Dune::GenericGeometry::VirtualMappingFactory<dim, GeometryTraits>::virtualMapping(const CoordVector&) [with Dune::GeometryType::BasicType type = simplex, CoordVector = Dune::GeoGrid::CoordVector<3, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, unsigned int dim = 3u, GeometryTraits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >]’                                                                                                                     
.../../../dune/grid/genericgeometry/mappingprovider.hh:82:   instantiated from ‘static Dune::GenericGeometry::HybridMapping<dim, GeometryTraits>* Dune::GenericGeometry::VirtualMappingFactory<dim, GeometryTraits>::AllTypes<<anonymous> >::mapping(Dune::GeometryType::BasicType, const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<3, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, bool <anonymous> = true, unsigned int dim = 3u, GeometryTraits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >]’                                                                                          
.../../../dune/grid/genericgeometry/mappingprovider.hh:66:   instantiated from ‘static Dune::GenericGeometry::HybridMapping<dim, GeometryTraits>* Dune::GenericGeometry::VirtualMappingFactory<dim, GeometryTraits>::mapping(const Dune::GeometryType&, const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<3, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, unsigned int dim = 3u, GeometryTraits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >]’         
.../../../dune/grid/genericgeometry/mappingprovider.hh:152:   instantiated from ‘static typename Dune::GenericGeometry::VirtualMappingFactory<Dune::GenericGeometry::MappingProvider<Dune::GenericGeometry::HybridMapping<dim, GeometryTraits>, codim>::mydimension, GeometryTraits>::Mapping* Dune::GenericGeometry::MappingProvider<Dune::GenericGeometry::HybridMapping<dim, GeometryTraits>, codim>::mapping(const Dune::GeometryType&, const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<3, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, unsigned int dim = 3u, GeometryTraits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >, unsigned int codim = 0u]’                                                                        
.../../../dune/grid/genericgeometry/geometry.hh:343:   instantiated from ‘Dune::GenericGeometry::BasicGeometry<mydim, Traits>::BasicGeometry(const Dune::GeometryType&, const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<3, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, int mydim = 3, Traits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >]’                                                                                                         
.../../../dune/grid/genericgeometry/geometry.hh:558:   instantiated from ‘Dune::GenericGeometry::Geometry<mydim, cdim, Grid>::Geometry(const Dune::GeometryType&, const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<3, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, int mydim = 3, int cdim = 3, Grid = const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>]’           
.../../../dune/grid/geometrygrid/entity.hh:805:   instantiated from ‘const typename std::remove_const<C>::type::Traits::Codim<Dune::GeoGrid::EntityBase<0, Grid, false>::codimension>::Geometry& Dune::GeoGrid::EntityBase<0, Grid, false>::geometry() const [with Grid = const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>]’                                                                               
.../../../dune/grid/common/entity.hh:273:   instantiated from ‘const typename GridImp::Codim<0>::Geometry& Dune::Entity<0, dim, GridImp, EntityImp>::geometry() const [with int dim = 3, GridImp = const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, EntityImp = Dune::GeoGrid::Entity]’                                                                                                                   
checkgeometryinfather.cc:49:   instantiated from ‘void checkGeometryInFather(const GridType&) [with GridType = Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>]’                                                                                                         
test-geogrid.cc:103:   instantiated from here                                                                                         
.../../../dune/grid/geometrygrid/cornerstorage.hh:41: error: no matching function for call to ‘Dune::AnalyticalCoordFunctionInterface<double, 2u, 3u, Dune::Helix>::evaluate(Dune::FieldVector<double, 3>, Dune::FieldVector<double, 3>&) const’                             
.../../../dune/grid/geometrygrid/coordfunction.hh:68: note: candidates are: void Dune::AnalyticalCoordFunctionInterface<ct, dimD, dimR, Impl>::evaluate(const Dune::FieldVector<ct, dimDomain>&, Dune::FieldVector<ct, dimRange>&) const [with ct = double, unsigned int dimD = 2u, unsigned int dimR = 3u, Impl = Dune::Helix]                                                                                    
.../../../dune/grid/geometrygrid/cornerstorage.hh: In member function ‘void Dune::GeoGrid::CoordFunctionCaller<HostEntity, Dune::AnalyticalCoordFunctionInterface<ct, dimD, dimR, Impl> >::evaluate(unsigned int, typename Dune::AnalyticalCoordFunctionInterface<ct, dimD, dimR, Impl>::RangeVector&) const [with HostEntity = Dune::Entity<3, 3, const Dune::YaspGrid<3>, Dune::YaspEntity>, ct = double, unsigned int dimD = 2u, unsigned int dimR = 3u, Impl = Dune::Helix]’:                                                                        
.../../../dune/grid/geometrygrid/cornerstorage.hh:137:   instantiated from ‘void Dune::GeoGrid::CoordVector<mydim, Grid, false>::calculate(Dune::FieldVector<typename std::remove_const<V>::type::Traits::ctype, Dune::GeoGrid::CoordVector<mydim, Grid, false>::dimensionworld> (&)[numCorners]) const [with unsigned int numCorners = 1u, int mydim = 0, Grid = const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>]’                                                                                                                             
.../../../dune/grid/geometrygrid/cornerstorage.hh:272:   instantiated from ‘Dune::GeoGrid::CornerStorage<Topology, Grid>::CornerStorage(const Dune::GeoGrid::CoordVector<Dune::GeoGrid::CornerStorage<Topology, Grid>::mydimension, Grid, fake>&) [with bool fake = false, Topology = Dune::GenericGeometry::Point, Grid = const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>]’                              
.../../../dune/grid/genericgeometry/cornermapping.hh:560:   instantiated from ‘Dune::GenericGeometry::CornerMapping<CoordTraits, Topo, dimW, CStorage, affine>::CornerMapping(const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<0, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, CoordTraits = Dune::GenericGeometry::DuneCoordTraits<double>, Topo = Dune::GenericGeometry::Point, unsigned int dimW = 3u, CStorage = Dune::GeoGrid::CornerStorage<Dune::GenericGeometry::Point, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >, bool affine = false]’                                                                                       
.../../../dune/grid/genericgeometry/mapping.hh:67:   instantiated from ‘Dune::GenericGeometry::Mapping<CoordTraits, Topo, dimW, Impl>::Mapping(const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<0, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, CoordTraits = Dune::GenericGeometry::DuneCoordTraits<double>, Topo = Dune::GenericGeometry::Point, int dimW = 3, Impl = Dune::GenericGeometry::CornerMapping<Dune::GenericGeometry::DuneCoordTraits<double>, Dune::GenericGeometry::Point, 3u, Dune::GeoGrid::CornerStorage<Dune::GenericGeometry::Point, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >, false>]’                          
.../../../dune/grid/genericgeometry/cachedmapping.hh:92:   instantiated from ‘Dune::GenericGeometry::CachedMapping<Topology, GeometryTraits>::CachedMapping(const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<0, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, Topology = Dune::GenericGeometry::Point, GeometryTraits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >]’                                                                                   
.../../../dune/grid/genericgeometry/hybridmapping.hh:231:   instantiated from ‘Dune::GenericGeometry::VirtualMapping<Topology, GeometryTraits>::VirtualMapping(const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<0, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, Topology = Dune::GenericGeometry::Point, GeometryTraits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >]’                                                                                
.../../../dune/grid/genericgeometry/mappingprovider.hh:56:   instantiated from ‘static Dune::GenericGeometry::HybridMapping<dim, GeometryTraits>* Dune::GenericGeometry::VirtualMappingFactory<dim, GeometryTraits>::virtualMapping(const CoordVector&) [with Dune::GeometryType::BasicType type = simplex, CoordVector = Dune::GeoGrid::CoordVector<0, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, unsigned int dim = 0u, GeometryTraits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >]’                                                                                                                     
.../../../dune/grid/genericgeometry/mappingprovider.hh:111:   instantiated from ‘static Dune::GenericGeometry::HybridMapping<dim, GeometryTraits>* Dune::GenericGeometry::VirtualMappingFactory<dim, GeometryTraits>::OnlySimplexCube<<anonymous> >::mapping(Dune::GeometryType::BasicType, const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<0, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, bool <anonymous> = false, unsigned int dim = 0u, GeometryTraits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >]’                                                                                 
.../../../dune/grid/genericgeometry/mappingprovider.hh:66:   instantiated from ‘static Dune::GenericGeometry::HybridMapping<dim, GeometryTraits>* Dune::GenericGeometry::VirtualMappingFactory<dim, GeometryTraits>::mapping(const Dune::GeometryType&, const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<0, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, unsigned int dim = 0u, GeometryTraits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >]’         
.../../../dune/grid/genericgeometry/mappingprovider.hh:152:   instantiated from ‘static typename Dune::GenericGeometry::VirtualMappingFactory<Dune::GenericGeometry::MappingProvider<Dune::GenericGeometry::HybridMapping<dim, GeometryTraits>, codim>::mydimension, GeometryTraits>::Mapping* Dune::GenericGeometry::MappingProvider<Dune::GenericGeometry::HybridMapping<dim, GeometryTraits>, codim>::mapping(const Dune::GeometryType&, const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<0, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, unsigned int dim = 3u, GeometryTraits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >, unsigned int codim = 3u]’
.../../../dune/grid/genericgeometry/geometry.hh:343:   instantiated from ‘Dune::GenericGeometry::BasicGeometry<mydim, Traits>::BasicGeometry(const Dune::GeometryType&, const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<0, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, int mydim = 0, Traits = Dune::GenericGeometry::GlobalGeometryTraits<const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix> >]’
.../../../dune/grid/genericgeometry/geometry.hh:558:   instantiated from ‘Dune::GenericGeometry::Geometry<mydim, cdim, Grid>::Geometry(const Dune::GeometryType&, const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<0, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, int mydim = 0, int cdim = 3, Grid = const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>]’
.../../../dune/grid/geometrygrid/entity.hh:239:   instantiated from ‘const typename std::remove_const<V>::type::Traits::Codim<codimension>::Geometry& Dune::GeoGrid::EntityBase<codim, Grid, false>::geometry() const [with int codim = 3, Grid = const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>]’
.../../../dune/grid/common/entity.hh:121:   instantiated from ‘const typename GridImp::Codim<cd>::Geometry& Dune::Entity<codim, dim, GridImp, EntityImp>::geometry() const [with int cd = 3, int dim = 3, GridImp = const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, EntityImp = Dune::GeoGrid::Entity]’
gridcheck.cc:679:   instantiated from ‘void zeroEntityConsistency(Grid&) [with Grid = Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>]’
gridcheck.cc:1131:   instantiated from ‘void gridcheck(Grid&) [with Grid = Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>]’
test-geogrid.cc:95:   instantiated from here
.../../../dune/grid/geometrygrid/cornerstorage.hh:41: error: no matching function for call to ‘Dune::AnalyticalCoordFunctionInterface<double, 2u, 3u, Dune::Helix>::evaluate(Dune::FieldVector<double, 3>, Dune::FieldVector<double, 3>&) const’
.../../../dune/grid/geometrygrid/coordfunction.hh:68: note: candidates are: void Dune::AnalyticalCoordFunctionInterface<ct, dimD, dimR, Impl>::evaluate(const Dune::FieldVector<ct, dimDomain>&, Dune::FieldVector<ct, dimRange>&) const [with ct = double, unsigned int dimD = 2u, unsigned int dimR = 3u, Impl = Dune::Helix]
make: *** [test_geogrid-test-geogrid.o] Fehler 1
sander at haile:/export/local-1/daten/users/sander/dune/dune-grid/dune/grid/test$


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

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