Skip to content

#436 AmiraMeshReader and ALUGrid don't work together

Metadata

Property Value
Reported by Uli Sack (usack@math.fu-berlin.de)
Reported at Oct 7, 2008 16:19
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Oliver Sander (oliver.sander@tu-dresden.de)
Last edited at Oct 21, 2009 16:49
Closed by Oliver Sander (oliver.sander@tu-dresden.de)
Closed at Oct 21, 2009 16:49
Closed in version Unknown
Resolution Implemented
Comment Thanks to the ALUGrid maintainers for getting this to work!

Description

The AmiraMeshReader and ALUGrid don't like each other. Trying to create an ALUSimplexGrid<2,2> object from an AmiraMesh-File results in the compiler error:

home/cocktail/usack/entwicklung/dune/dune-grid/dune/grid/io/file/amiramesh/amirameshreader.cc: In static member function ‘static void Dune::AmiraMeshReader::read(GridType&, const std::string&) [with GridType = Dune::ALUSimplexGrid<2, 2>]’: test.cc:43: instantiated from here /home/cocktail/usack/entwicklung/dune/dune-grid/dune/grid/io/file/amiramesh/amirameshreader.cc:339: error: cannot declare variable ‘factory’ to be of abstract type ‘Dune::GridFactory<Dune::ALUSimplexGrid<2, 2> >’ /home/cocktail/usack/entwicklung/dune/dune-grid/dune/grid/common/gridfactory.hh:91: note: because the following virtual functions are pure within ‘Dune::GridFactory<Dune::ALUSimplexGrid<2, 2> >’: /home/cocktail/usack/entwicklung/dune/dune-grid/dune/grid/common/gridfactory.hh:64: note: void Dune::GridFactoryInterface::insertElement(const Dune::GeometryType&, const std::vector<unsigned int, std::allocator >&) [with GridType = Dune::ALUSimplexGrid<2, 2>] make: *** [test-test.o] Fehler 1

The attached file reproduces this behaviour on my machine. The same file compiles using UGGrid instead.

Saludos, Uli

Attachments