[dune-pdelab] error with ALUGrid

Oleh Krehel krehel at am.uni-erlangen.de
Tue Nov 8 14:28:04 CET 2011


Dear PDELab developers,

I'm getting an error when using PDELab with ALUGrid, read from a dgf
file (I tried several)
Here is the output:

GridParameterBlock: Parameter 'tolerance' not specified, defaulting to `1e-08'!

Created serial ALUSimplexGrid<2,2> from macro grid file 'grid.dgf'.

Dune reported error: Exception
[update:/localhome/krehel/trunkDUNE/dune-pdelab/dune/pdelab/g
ridfunctionspace/gridfunctionspace.hh:530]: geometry type mismatch in
GridFunctionSpace

The line that's throwing is:
if (fe.type()!=it->type())
  DUNE_THROW(Exception, "geometry type mismatch in GridFunctionSpace");

(gdb) p fe.type()
$1 = {topologyId_ = 3, dim_ = 2 '\002', none_ = false}
(gdb) p it->type()
$2 = {topologyId_ = 0, dim_ = 2 '\002', none_ = false}

There's only one place in pdelab-howto that's reading a dgf file into
ALU, but it's commented out.
How do i use ALU with PDELab?

best regards,
Oleh Krehel




More information about the dune-pdelab mailing list