Skip to content

#514 DGFparser doesn't work for ALUSimplexGrid<3,3>

Metadata

Property Value
Reported by Christian May (cmay@itp.phys.ethz.ch)
Reported at Mar 5, 2009 19:05
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 Mar 6, 2009 09:49
Closed by Martin Nolte (nolte@mathematik.uni-freiburg.de)
Closed at Mar 6, 2009 09:49
Closed in version Unknown
Resolution Fixed
Comment Wrong CPPFLAGS were used. Added an improved warning as of revision 4904.

Description

Compiling the attached file results in the following error:

/cluster/work/phys/cmay/include/dune/grid/common/grid.hh:1294: error: declaration of âtypedef EntityPointerImp<cd, const GridImp> Dune::GridTraits<dim, dimw, GridImp, GeometryImp, EntityImp, EntityPointerImp, LevelIteratorImp, LeafIntersectionImp, LevelIntersectionImp, LeafIntersectionIteratorImp, LevelIntersectionIteratorImp, HierarchicIteratorImp, LeafIteratorImp, LevelIndexSetImp, LevelIndexSetTypes, LeafIndexSetImp, LeafIndexSetTypes, GlobalIdSetImp, GIDType, LocalIdSetImp, LIDType, CCType, LevelGridViewTraits, LeafGridViewTraits>::Codim::EntityPointerImplâ /cluster/work/phys/cmay/include/dune/grid/common/grid.hh:1278: error: conflicts with previous declaration âtypedef EntityPointerImp<cd, const GridImp> Dune::GridTraits<dim, dimw, GridImp, GeometryImp, EntityImp, EntityPointerImp, LevelIteratorImp, LeafIntersectionImp, LevelIntersectionImp, LeafIntersectionIteratorImp, LevelIntersectionIteratorImp, HierarchicIteratorImp, LeafIteratorImp, LevelIndexSetImp, LevelIndexSetTypes, LeafIndexSetImp, LeafIndexSetTypes, GlobalIdSetImp, GIDType, LocalIdSetImp, LIDType, CCType, LevelGridViewTraits, LeafGridViewTraits>::Codim::EntityPointerImplâ /cluster/work/phys/cmay/include/dune/grid/io/file/dgfparser/dgfparser.hh: In member function âGridType* Dune::MacroGrid::createGrid() [with GridType = Dune::ALUSimplexGrid<3, 3>]â: /cluster/work/phys/cmay/include/dune/grid/io/file/dgfparser/dgfparser.hh:170: instantiated from âDune::GridPtr::GridPtr(std::string, ompi_communicator_t*) [with GridType = Dune::ALUSimplexGrid<3, 3>]â test.cpp:15: instantiated from here /cluster/work/phys/cmay/include/dune/grid/io/file/dgfparser/dgfparser.hh:124: error: incomplete type âDune::MacroGrid::Impl<Dune::ALUSimplexGrid<3, 3> >â used in nested name specifier

Attachments