[dune-pdelab] PDELab-HowTo does not compile
Christoph Grüninger
foss at grueninger.de
Tue Feb 8 19:54:18 CET 2011
Dear PDELab-devs,
in the PDELab howto examples seems to be an error. While using
a freshly updated svn version of all dune modules, I get the
following error:
g++ -std=c++0x -DHAVE_CONFIG_H -I. -I.. -I/home/der_user/Dokumente/workspace/dune/dune-common -I/home/der_user/Dokumente/workspace/dune/dune-grid -I/home/der_user/Dokumente/workspace/dune/dune-istl -I/home/der_user/Dokumente/workspace/dune/dune-localfunctions -I/home/der_user/Dokumente/workspace/dune/dune-pdelab -I/usr/include/superlu -DENABLE_SUPERLU -I/home/der_user/Dokumente/workspace/dune/dune-common -I/home/der_user/Dokumente/workspace/dune/dune-grid -I/home/der_user/Dokumente/workspace/dune/dune-istl -I/home/der_user/Dokumente/workspace/dune/dune-localfunctions -I/home/der_user/Dokumente/workspace/dune/dune-pdelab -I/usr/include/superlu -DENABLE_SUPERLU -g -O2 -MT q1constrainedinterpolatemain-q1constrainedinterpolatemain.o -MD -MP -MF .deps/q1constrainedinterpolatemain-q1constrainedinterpolatemain.Tpo -c -o q1constrainedinterpolatemain-q1constrainedinterpolatemain.o `test -f 'q1constrainedinterpolatemain.cc' || echo './'`q1constrainedinterpolatemain.cc
In file included from q1constrainedinterpolate.hh:6,
from q1constrainedinterpolatemain.cc:13:
/home/der_user/Dokumente/workspace/dune/dune-pdelab/dune/pdelab/gridfunctionspace/constraints.hh: In function void Dune::PDELab::set_nonconstrained_dofs(const CG&, typename XG::ElementType, XG&) [with CG = q1interpolate(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >]::T, XG = q1interpolate(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >]::X]:
q1constrainedinterpolate.hh:30: instantiated from void q1interpolate(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >]
q1constrainedinterpolatemain.cc:27: instantiated from here
/home/der_user/Dokumente/workspace/dune/dune-pdelab/dune/pdelab/gridfunctionspace/constraints.hh:610: error: BlockSize is not a member of Dune::PDELab::set_nonconstrained_dofs(const CG&, typename XG::ElementType, XG&) [with CG = q1interpolate(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >]::T, XG = q1interpolate(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >]::X]::B
/home/der_user/Dokumente/workspace/dune/dune-pdelab/dune/pdelab/gridfunctionspace/constraints.hh:611: error: BlockSize is not a member of Dune::PDELab::set_nonconstrained_dofs(const CG&, typename XG::ElementType, XG&) [with CG = q1interpolate(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >]::T, XG = q1interpolate(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >]::X]::B
All previous examples compile quite fine.
Have a nice day
Christoph
More information about the dune-pdelab
mailing list