[dune-pdelab] [dune-pdelab-commit] [Commit] dune-pdelab - 90917b9: [localassembler/patternengine] move the definition of GlobalDOFIndex and BorderPattern to the BorderDOFExchanger class

Markus Blatt markus at dr-blatt.de
Tue Sep 10 23:11:36 CEST 2013


On Tue, Sep 10, 2013 at 05:51:53PM +0200, Christian Engwer wrote:
> what application are you trying to build and which toolchain are you
> using? From you build output it is really hard to guess which program
> shows the error. 

Like a said it happens for
dune-pdelab-howto/src/convection-diffusion/nonlineardiffusion.

Somehow I missed to merge some updates to dune-pdelab. With the
current master I still get compilation errors about BorderPattern
being private. I attach the relevant log. Building happened with
gcc-4.7.2

Markus
-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658 
-------------- next part --------------
Building CXX object src/convection-diffusion/CMakeFiles/nonlineardiffusion.dir/nonlineardiffusion.cc.o
In file included from /home/mblatt/src/dune/current/dune-pdelab/dune/pdelab/finiteelementmap/q22dfem.hh:7:0,
                 from /home/mblatt/src/dune/current/dune-pdelab-howto/src/convection-diffusion/nonlineardiffusion.cc:30:
/home/mblatt/src/dune/current/dune-localfunctions/dune/localfunctions/lagrange/q2.hh:6:2: warning: #warning The class Q2LocalFiniteElement from q2.hh is deprecated, and will be removed after the release of Dune 2.3. Please use QkLocalFiniteElement from qk.hh instead. [-Wcpp]
In file included from /home/mblatt/src/dune/current/dune-pdelab/dune/pdelab/gridoperator/gridoperator.hh:7:0,
                 from /home/mblatt/src/dune/current/dune-pdelab-howto/src/convection-diffusion/nonlineardiffusion.cc:39:
/home/mblatt/src/dune/current/dune-pdelab/dune/pdelab/gridoperator/default/patternengine.hh: In instantiation of ‘class Dune::PDELab::DefaultLocalPatternAssemblerEngine<Dune::PDELab::DefaultLocalAssembler<Dune::PDELab::GridOperator<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> > >, Dune::PDELab::ISTLVectorBackend<>, Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams> >, Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> > >, Dune::PDELab::ISTLVectorBackend<>, Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams> >, Dune::PDELab::ConvectionDiffusion<ConvectionDiffusionProblem<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, double> >, Dune::PDELab::ISTLMatrixBackend, double, double, double, Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int, 1ul>, double>, Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int, 1ul>, double>, true>, Dune::PDELab::ConvectionDiffusion<ConvectionDiffusionProblem<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, double> >, true> >’:
/home/mblatt/src/dune/current/dune-pdelab/dune/pdelab/gridoperator/default/localassembler.hh:236:36:   required from ‘class Dune::PDELab::DefaultLocalAssembler<Dune::PDELab::GridOperator<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> > >, Dune::PDELab::ISTLVectorBackend<>, Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams> >, Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> > >, Dune::PDELab::ISTLVectorBackend<>, Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams> >, Dune::PDELab::ConvectionDiffusion<ConvectionDiffusionProblem<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, double> >, Dune::PDELab::ISTLMatrixBackend, double, double, double, Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int, 1ul>, double>, Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int, 1ul>, double>, true>, Dune::PDELab::ConvectionDiffusion<ConvectionDiffusionProblem<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, double> >, true>’
/home/mblatt/src/dune/current/dune-pdelab/dune/pdelab/gridoperator/gridoperator.hh:193:30:   required from ‘class Dune::PDELab::GridOperator<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> > >, Dune::PDELab::ISTLVectorBackend<>, Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams> >, Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> > >, Dune::PDELab::ISTLVectorBackend<>, Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams> >, Dune::PDELab::ConvectionDiffusion<ConvectionDiffusionProblem<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, double> >, Dune::PDELab::ISTLMatrixBackend, double, double, double, Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int, 1ul>, double>, Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int, 1ul>, double>, true>’
/home/mblatt/src/dune/current/dune-pdelab-howto/src/convection-diffusion/nonlineardiffusion.cc:284:6:   required from ‘void parallel_nonoverlapping_Q1(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >]’
/home/mblatt/src/dune/current/dune-pdelab-howto/src/convection-diffusion/nonlineardiffusion.cc:433:36:   required from here
/home/mblatt/src/dune/current/dune-pdelab/dune/pdelab/gridoperator/common/borderdofexchanger.hh:92:11: error: ‘typedef class std::unordered_map<Dune::PDELab::DOFIndex<long unsigned int, 1ul, 2ul>, std::unordered_set<Dune::PDELab::GlobalDOFIndex<long unsigned int, 1ul, Dune::bigunsignedint<58> >, std::hash<Dune::PDELab::GlobalDOFIndex<long unsigned int, 1ul, Dune::bigunsignedint<58> > >, std::equal_to<Dune::PDELab::GlobalDOFIndex<long unsigned int, 1ul, Dune::bigunsignedint<58> > >, std::allocator<Dune::PDELab::GlobalDOFIndex<long unsigned int, 1ul, Dune::bigunsignedint<58> > > >, std::hash<Dune::PDELab::DOFIndex<long unsigned int, 1ul, 2ul> >, std::equal_to<Dune::PDELab::DOFIndex<long unsigned int, 1ul, 2ul> >, std::allocator<std::pair<const Dune::PDELab::DOFIndex<long unsigned int, 1ul, 2ul>, std::unordered_set<Dune::PDELab::GlobalDOFIndex<long unsigned int, 1ul, Dune::bigunsignedint<58> >, std::hash<Dune::PDELab::GlobalDOFIndex<long unsigned int, 1ul, Dune::bigunsignedint<58> > >, std::equal_to<Dune::PDELab::GlobalDOFIndex<long unsigned int, 1ul, Dune::bigunsignedint<58> > >, std::allocator<Dune::PDELab::GlobalDOFIndex<long unsigned int, 1ul, Dune::bigunsignedint<58> > > > > > > Dune::PDELab::NonOverlappingBorderDOFExchanger<Dune::PDELab::GridOperator<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> > >, Dune::PDELab::ISTLVectorBackend<>, Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams> >, Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> > >, Dune::PDELab::ISTLVectorBackend<>, Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams> >, Dune::PDELab::ConvectionDiffusion<ConvectionDiffusionProblem<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, double> >, Dune::PDELab::ISTLMatrixBackend, double, double, double, Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int, 1ul>, double>, Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int, 1ul>, double>, true> >::BorderPattern’ is private
In file included from /home/mblatt/src/dune/current/dune-pdelab/dune/pdelab/gridoperator/default/localassembler.hh:7:0,
                 from /home/mblatt/src/dune/current/dune-pdelab/dune/pdelab/gridoperator/gridoperator.hh:10,
                 from /home/mblatt/src/dune/current/dune-pdelab-howto/src/convection-diffusion/nonlineardiffusion.cc:39:
/home/mblatt/src/dune/current/dune-pdelab/dune/pdelab/gridoperator/default/patternengine.hh:45:58: error: within this context
make[3]: *** [src/convection-diffusion/CMakeFiles/nonlineardiffusion.dir/nonlineardiffusion.cc.o] Fehler 1
make[2]: *** [src/convection-diffusion/CMakeFiles/nonlineardiffusion.dir/all] Fehler 2
make[1]: *** [src/convection-diffusion/CMakeFiles/nonlineardiffusion.dir/rule] Fehler 2
make: *** [src/convection-diffusion/CMakeFiles/nonlineardiffusion.dir/rule] Fehler 2


More information about the dune-pdelab mailing list