#657 test-geogrid doesn't compile
Metadata
Property | Value |
---|---|
Reported by | Oliver Sander (oliver.sander@tu-dresden.de) |
Reported at | Nov 11, 2009 14:47 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Martin Nolte (nolte@mathematik.uni-freiburg.de) |
Last edited at | Nov 11, 2009 15:08 |
Closed by | Martin Nolte (nolte@mathematik.uni-freiburg.de) |
Closed at | Nov 11, 2009 15:08 |
Closed in version | Unknown |
Resolution | Not a bug |
Comment |
Description
sander@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@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::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::PyramidDune::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, Topo = Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::PyramidDune::GenericGeometry::Point > >, unsigned int dimW = 3u, CStorage = Dune::GeoGrid::CornerStorage<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::PyramidDune::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, Topo = Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::PyramidDune::GenericGeometry::Point > >, int dimW = 3, Impl = Dune::GenericGeometry::CornerMapping<Dune::GenericGeometry::DuneCoordTraits, Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::PyramidDune::GenericGeometry::Point > >, 3u, Dune::GeoGrid::CornerStorage<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::Pyramid<Dune::GenericGeometry::PyramidDune::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::PyramidDune::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::PyramidDune::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< >::mapping(Dune::GeometryType::BasicType, const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<3, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, bool = 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::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::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, 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, Topo = Dune::GenericGeometry::Point, int dimW = 3, Impl = Dune::GenericGeometry::CornerMapping<Dune::GenericGeometry::DuneCoordTraits, 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< >::mapping(Dune::GeometryType::BasicType, const CoordVector&) [with CoordVector = Dune::GeoGrid::CoordVector<0, const Dune::GeometryGrid<Dune::YaspGrid<3>, Dune::Helix>, false>, bool = 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::type::Traits::Codim::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::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@haile:/export/local-1/daten/users/sander/dune/dune-grid/dune/grid/test$