[Dune] Removal of GenericGeometry::normal()
Christoph Grüninger
christoph.grueninger at iws.uni-stuttgart.de
Wed May 2 11:38:47 CEST 2012
Hi Oliver,
make check fails for dune-grid at the file testbasicgeometry.cc.
normal() is called but it is no longer provided by GenericGeometry.
We could remove the test or calculate the normal by it's replacement.
Greets
Christoph
> make[5]: Entering directory `/temp/gruenich/dune/complete/dune-grid/dune/grid/genericgeometry/test'
> g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../../.. -I/temp/gruenich/dune/complete/dune-common -I/temp/gruenich/dune/complete/dune-geometry -I../../../.. -I/temp/gruenich/dune/complete/dune-common -I/temp/gruenich/dune/complete/dune-geometry -I/temp/gruenich/dune/complete/dune-common -I/usr/include -DENABLE_GMP=1 -I/temp/gruenich/dune/complete/dune-geometry -DGRIDDIM=3 -DWORLDDIM=3 -DYASPGRID -I/temp/gruenich/dune/zusatz/alberta-3.0.0-rc7/install/include -I/temp/gruenich/dune/zusatz/alberta-3.0.0-rc7/install/include/alberta -DALBERTA_DIM=3 -DENABLE_ALBERTA -DDUNE_GRID_EXAMPLE_GRIDS_PATH=\"../../../../doc/grids/\" -Wall -Wmissing-include-dirs -Wcast-align -Wno-packed-bitfield-compat -Wno-unused-parameter -fno-strict-aliasing -fstrict-overflow -g -DNDEBUG -MT testbasicgeometry.o -MD -MP -MF .deps/testbasicgeometry.Tpo -c -o testbasicgeometry.o testbasicgeometry.cc
> testbasicgeometry.cc: In function ‘void testBasicGeometry(const TestGeometry&, typename TestGeometry::ctype, bool, int&) [with TestGeometry = Dune::GenericGeometry::BasicGeometry<0, Dune::GenericGeometry::DefaultGeometryTraits<double, 0, 0> >, typename TestGeometry::ctype = double]’:
> testbasicgeometry.cc:123:73: instantiated from here
> testbasicgeometry.cc:47:9: error: ‘const class Dune::GenericGeometry::BasicGeometry<0, Dune::GenericGeometry::DefaultGeometryTraits<double, 0, 0> >’ has no member named ‘normal’
> testbasicgeometry.cc: In function ‘void testBasicGeometry(const TestGeometry&, typename TestGeometry::ctype, bool, int&) [with TestGeometry = Dune::GenericGeometry::BasicGeometry<0, Dune::GenericGeometry::DefaultGeometryTraits<double, 1, 1> >, typename TestGeometry::ctype = double]’:
> testbasicgeometry.cc:167:73: instantiated from here
> testbasicgeometry.cc:47:9: error: ‘const class Dune::GenericGeometry::BasicGeometry<0, Dune::GenericGeometry::DefaultGeometryTraits<double, 1, 1> >’ has no member named ‘normal’
> testbasicgeometry.cc: In function ‘void testBasicGeometry(const TestGeometry&, typename TestGeometry::ctype, bool, int&) [with TestGeometry = Dune::GenericGeometry::BasicGeometry<1, Dune::GenericGeometry::DefaultGeometryTraits<double, 1, 1> >, typename TestGeometry::ctype = double]’:
> testbasicgeometry.cc:200:73: instantiated from here
> testbasicgeometry.cc:47:9: error: ‘const class Dune::GenericGeometry::BasicGeometry<1, Dune::GenericGeometry::DefaultGeometryTraits<double, 1, 1> >’ has no member named ‘normal’
> testbasicgeometry.cc: In function ‘void testBasicGeometry(const TestGeometry&, typename TestGeometry::ctype, bool, int&) [with TestGeometry = Dune::GenericGeometry::BasicGeometry<0, Dune::GenericGeometry::DefaultGeometryTraits<double, 2, 2> >, typename TestGeometry::ctype = double]’:
> testbasicgeometry.cc:244:73: instantiated from here
> testbasicgeometry.cc:47:9: error: ‘const class Dune::GenericGeometry::BasicGeometry<0, Dune::GenericGeometry::DefaultGeometryTraits<double, 2, 2> >’ has no member named ‘normal’
> testbasicgeometry.cc: In function ‘void testBasicGeometry(const TestGeometry&, typename TestGeometry::ctype, bool, int&) [with TestGeometry = Dune::GenericGeometry::BasicGeometry<1, Dune::GenericGeometry::DefaultGeometryTraits<double, 2, 2> >, typename TestGeometry::ctype = double]’:
> testbasicgeometry.cc:277:73: instantiated from here
> testbasicgeometry.cc:47:9: error: ‘const class Dune::GenericGeometry::BasicGeometry<1, Dune::GenericGeometry::DefaultGeometryTraits<double, 2, 2> >’ has no member named ‘normal’
> testbasicgeometry.cc: In function ‘void testBasicGeometry(const TestGeometry&, typename TestGeometry::ctype, bool, int&) [with TestGeometry = Dune::GenericGeometry::BasicGeometry<2, Dune::GenericGeometry::DefaultGeometryTraits<double, 2, 2> >, typename TestGeometry::ctype = double]’:
> testbasicgeometry.cc:311:73: instantiated from here
> testbasicgeometry.cc:47:9: error: ‘const class Dune::GenericGeometry::BasicGeometry<2, Dune::GenericGeometry::DefaultGeometryTraits<double, 2, 2> >’ has no member named ‘normal’
> testbasicgeometry.cc: In function ‘void testBasicGeometry(const TestGeometry&, typename TestGeometry::ctype, bool, int&) [with TestGeometry = Dune::GenericGeometry::BasicGeometry<0, Dune::GenericGeometry::DefaultGeometryTraits<double, 3, 3> >, typename TestGeometry::ctype = double]’:
> testbasicgeometry.cc:398:73: instantiated from here
> testbasicgeometry.cc:47:9: error: ‘const class Dune::GenericGeometry::BasicGeometry<0, Dune::GenericGeometry::DefaultGeometryTraits<double, 3, 3> >’ has no member named ‘normal’
> testbasicgeometry.cc: In function ‘void testBasicGeometry(const TestGeometry&, typename TestGeometry::ctype, bool, int&) [with TestGeometry = Dune::GenericGeometry::BasicGeometry<1, Dune::GenericGeometry::DefaultGeometryTraits<double, 3, 3> >, typename TestGeometry::ctype = double]’:
> testbasicgeometry.cc:431:73: instantiated from here
> testbasicgeometry.cc:47:9: error: ‘const class Dune::GenericGeometry::BasicGeometry<1, Dune::GenericGeometry::DefaultGeometryTraits<double, 3, 3> >’ has no member named ‘normal’
> testbasicgeometry.cc: In function ‘void testBasicGeometry(const TestGeometry&, typename TestGeometry::ctype, bool, int&) [with TestGeometry = Dune::GenericGeometry::BasicGeometry<2, Dune::GenericGeometry::DefaultGeometryTraits<double, 3, 3> >, typename TestGeometry::ctype = double]’:
> testbasicgeometry.cc:465:73: instantiated from here
> testbasicgeometry.cc:47:9: error: ‘const class Dune::GenericGeometry::BasicGeometry<2, Dune::GenericGeometry::DefaultGeometryTraits<double, 3, 3> >’ has no member named ‘normal’
> testbasicgeometry.cc: In function ‘void testBasicGeometry(const TestGeometry&, typename TestGeometry::ctype, bool, int&) [with TestGeometry = Dune::GenericGeometry::BasicGeometry<3, Dune::GenericGeometry::DefaultGeometryTraits<double, 3, 3> >, typename TestGeometry::ctype = double]’:
> testbasicgeometry.cc:560:73: instantiated from here
> testbasicgeometry.cc:47:9: error: ‘const class Dune::GenericGeometry::BasicGeometry<3, Dune::GenericGeometry::DefaultGeometryTraits<double, 3, 3> >’ has no member named ‘normal’
> make[5]: *** [testbasicgeometry.o] Error 1
More information about the Dune
mailing list