[Dune] [Dune-Commit] dune-istl r1404 - in trunk/dune/istl: . test

Jö Fahlke jorrit at jorrit.de
Sun Nov 28 19:47:58 CET 2010


Am Fri, 26. Nov 2010, 15:51:16 +0100 schrieb mblatt at dune-project.org:
> Author: mblatt
> Date: 2010-11-26 15:51:16 +0100 (Fri, 26 Nov 2010)
> New Revision: 1404
> 
> Modified:
[...]
> Log:
> Towards REALLY interchangable field_types.

Hi!

This really broke dune-pdelab hard and good an in a way I'm not sure how to
fix.  The problem appears to be that we now need a

  template<int BLOCKSIZE, class T, class E>
  FieldTraits<PDELab::ISTLVectorBackend<BLOCKSIZE>::VectorContainer<T,E> >;

This is is apparently not the correct way to specify this specialization (at
least for g++-4.3) and I can't figure out how to write it correctly.

One way to reproduce the problem is by compiling
dune/pdelab/test/testlaplacedirichletccfv with the current trunk (istl rev
1405).  The error I get is attached.

Bye,
Jö.

-- 
<ex-bart> beleidige cernlib
-:- SignOff Volk1: #macht (EOF From client)
-------------- next part --------------
-*- mode: compilation; default-directory: "/home/joe/src/dune-noopt/dune-pdelab/dune/pdelab/test/" -*-
Compilation started at Sun Nov 28 19:35:37

cd ~/src/dune-noopt/dune-pdelab/dune/pdelab/test && make testlaplacedirichletccfv
if g++-4.3 -DHAVE_CONFIG_H -I. -I. -I../../..  -I/home/joe/src/dune-noopt/dune-common -I/home/joe/src/dune-noopt/dune-grid -I/home/joe/src/dune-noopt/dune-localfunctions -I/home/joe/src/dune-noopt/dune-istl -I../../..  -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/home/joe/src/dune-noopt/ALUGrid-inst/include -I/home/joe/src/dune-noopt/ALUGrid-inst/include/serial -I/home/joe/src/dune-noopt/ALUGrid-inst/include/duneinterface -DENABLE_ALUGRID -I/home/joe/src/dune-noopt/ALUGrid-inst/include/parallel  -I/home/joe/src/dune-noopt/dune-common -I/home/joe/src/dune-noopt/dune-grid -I/home/joe/src/dune-noopt/dune-localfunctions -I/home/joe/src/dune-noopt/dune-istl -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/usr -DENABLE_PARMETIS=1  -I/usr/include/superlu -DENABLE_SUPERLU -UNDEBUG -I/usr/include  -ggdb3 -O0 -Wall -MT testlaplacedirichletccfv-testlaplacedirichletccfv.o -MD -MP -MF ".deps/testlaplacedirichletccfv-testlaplacedirichletccfv.Tpo" -c -o testlaplacedirichletccfv-testlaplacedirichletccfv.o `test -f 'testlaplacedirichletccfv.cc' || echo './'`testlaplacedirichletccfv.cc; \
	then mv -f ".deps/testlaplacedirichletccfv-testlaplacedirichletccfv.Tpo" ".deps/testlaplacedirichletccfv-testlaplacedirichletccfv.Po"; else rm -f ".deps/testlaplacedirichletccfv-testlaplacedirichletccfv.Tpo"; exit 1; fi
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh: In constructor ?Dune::CGSolver<X>::CGSolver(L&, P&, double, int, int) [with L = Dune::MatrixAdapter<Dune::PDELab::ISTLBCRSMatrixBackend<1, 1>::Matrix<Dune::PDELab::GridOperatorSpace<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, Dune::PDELab::LaplaceDirichletCCFV<G<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, double> >, Dune::PDELab::EmptyTransformation, Dune::PDELab::EmptyTransformation, Dune::PDELab::ISTLBCRSMatrixBackend<1, 1>, false>, double>, Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>, Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double> >, P = Dune::SeqILU0<Dune::PDELab::ISTLBCRSMatrixBackend<1, 1>::Matrix<Dune::PDELab::GridOperatorSpace<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, Dune::PDELab::LaplaceDirichletCCFV<G<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, double> >, Dune::PDELab::EmptyTransformation, Dune::PDELab::EmptyTransformation, Dune::PDELab::ISTLBCRSMatrixBackend<1, 1>, false>, double>, Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>, Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>, 1>, X = Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>]?:
testlaplacedirichletccfv.cc:138:   instantiated from ?void test(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >]?
testlaplacedirichletccfv.cc:174:   instantiated from here
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh:504: error: no matching function for call to ?Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>::VectorContainer(double&)?
../backend/istlvectorbackend.hh:35: note: candidates are: Dune::PDELab::ISTLVectorBackend<BLOCKSIZE>::VectorContainer<T, E>::VectorContainer(const T&, const E&) [with T = Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, E = double, int BLOCKSIZE = 1]
../backend/istlvectorbackend.hh:33: note:                 Dune::PDELab::ISTLVectorBackend<BLOCKSIZE>::VectorContainer<T, E>::VectorContainer(const T&) [with T = Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, E = double, int BLOCKSIZE = 1]
../backend/istlvectorbackend.hh:27: note:                 Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>::VectorContainer(const Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>&)
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh: In constructor ?Dune::CGSolver<X>::CGSolver(L&, P&, double, int, int) [with L = test(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >]::ISTLOnTheFlyOperator, P = Dune::Richardson<Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>, Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double> >, X = Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>]?:
testlaplacedirichletccfv.cc:139:   instantiated from ?void test(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >]?
testlaplacedirichletccfv.cc:174:   instantiated from here
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh:504: error: no matching function for call to ?Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>::VectorContainer(double&)?
../backend/istlvectorbackend.hh:35: note: candidates are: Dune::PDELab::ISTLVectorBackend<BLOCKSIZE>::VectorContainer<T, E>::VectorContainer(const T&, const E&) [with T = Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, E = double, int BLOCKSIZE = 1]
../backend/istlvectorbackend.hh:33: note:                 Dune::PDELab::ISTLVectorBackend<BLOCKSIZE>::VectorContainer<T, E>::VectorContainer(const T&) [with T = Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, E = double, int BLOCKSIZE = 1]
../backend/istlvectorbackend.hh:27: note:                 Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>::VectorContainer(const Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>&)
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh: In member function ?void Dune::CGSolver<X>::apply(X&, X&, Dune::InverseOperatorResult&) [with X = Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>]?:
testlaplacedirichletccfv.cc:145:   instantiated from ?void test(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >]?
testlaplacedirichletccfv.cc:174:   instantiated from here
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh:542: error: no match for ?operator<? in ?def0 < 1.00000000000000008333642060758598535093133602687e-30?
testlaplacedirichletccfv.cc:145:   instantiated from ?void test(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >]?
testlaplacedirichletccfv.cc:174:   instantiated from here
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh:592: error: no match for ?operator<? in ?def < 1.00000000000000008333642060758598535093133602687e-30?
testlaplacedirichletccfv.cc:145:   instantiated from ?void test(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >]?
testlaplacedirichletccfv.cc:174:   instantiated from here
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh:592: error: no match for ?operator<? in ?def < def0.Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>::<anonymous>.Dune::BlockVector<Dune::FieldVector<double, 1>, std::allocator<Dune::FieldVector<double, 1> > >::<anonymous>.Dune::block_vector_unmanaged<B, A>::operator* [with B = Dune::FieldVector<double, 1>, A = std::allocator<Dune::FieldVector<double, 1> >](((const Dune::block_vector_unmanaged<Dune::FieldVector<double, 1>, std::allocator<Dune::FieldVector<double, 1> > >&)((const Dune::block_vector_unmanaged<Dune::FieldVector<double, 1>, std::allocator<Dune::FieldVector<double, 1> > >*)(&((Dune::CGSolver<Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double> >*)this)->Dune::CGSolver<Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double> >::_reduction.Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>::<anonymous>.Dune::BlockVector<Dune::FieldVector<double, 1>, std::allocator<Dune::FieldVector<double, 1> > >::<anonymous>))))?
testlaplacedirichletccfv.cc:145:   instantiated from ?void test(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >]?
testlaplacedirichletccfv.cc:174:   instantiated from here
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh:613: error: no match for ?operator/? in ?def / def0?
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh: In member function ?void Dune::InverseOperator<X, Y>::printOutput(std::ostream&, double, const DataType&, const DataType&) const [with DataType = Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>, X = Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>, Y = Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>]?:
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh:589:   instantiated from ?void Dune::CGSolver<X>::apply(X&, X&, Dune::InverseOperatorResult&) [with X = Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>]?
testlaplacedirichletccfv.cc:145:   instantiated from ?void test(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >]?
testlaplacedirichletccfv.cc:174:   instantiated from here
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh:160: error: no match for ?operator/? in ?norm / norm_old?
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh: In static member function ?static double Dune::DoubleConverter<T>::toDouble(const T&) [with T = Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>]?:
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh:613:   instantiated from ?void Dune::CGSolver<X>::apply(X&, X&, Dune::InverseOperatorResult&) [with X = Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>]?
testlaplacedirichletccfv.cc:145:   instantiated from ?void test(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >]?
testlaplacedirichletccfv.cc:174:   instantiated from here
/home/joe/src/dune-noopt/dune-istl/dune/istl/solvers.hh:43: error: invalid static_cast from type ?const Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>? to type ?double?
/home/joe/src/dune-noopt/dune-istl/dune/istl/scalarproducts.hh: In member function ?typename Dune::FieldTraits<T>::real_type Dune::SeqScalarProduct<X>::norm(const X&) [with X = Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>]?:
testlaplacedirichletccfv.cc:202:   instantiated from here
/home/joe/src/dune-noopt/dune-istl/dune/istl/scalarproducts.hh:119: error: conversion from ?double? to non-scalar type ?Dune::PDELab::ISTLVectorBackend<1>::VectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, All_Partition> >, Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>, Dune::PDELab::NoConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, double>? requested
make: *** [testlaplacedirichletccfv-testlaplacedirichletccfv.o] Fehler 1

Compilation exited abnormally with code 2 at Sun Nov 28 19:35:49
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20101128/944f595e/attachment.sig>


More information about the Dune mailing list