[dune-pdelab] ambiguosity in istlsolverbackend.hh
Bernd Flemisch
bernd at iws.uni-stuttgart.de
Fri Mar 5 13:39:57 CET 2010
Dear Dune-PDELab,
the instantiation of a BlockProcessorHelper<GFS, true, 1> yields an error
istlsolverbackend.hh:384: error: ambiguous class template instantiation
for ‘struct
Dune::PDELab::<unnamed>::BlockProcessorHelper<Dune::PDELab::PowerGridFunctionSpace<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::UGGrid<3>, All_Partition> >,
Dune::PDELab::Q1LocalFiniteElementMap<double, double, 3>,
Dune::NonoverlappingBoxDirichletConstraints<Dune::Properties::TTag::OnePTestProblem>,
Dune::PDELab::ISTLVectorBackend<1>,
Dune::PDELab::GridFunctionGeneralMapper>, 1,
Dune::PDELab::GridFunctionSpaceBlockwiseMapper>, true, 1>’
istlsolverbackend.hh:311: error: candidates are: struct
Dune::PDELab::<unnamed>::BlockProcessorHelper<GFS, b, 1>
istlsolverbackend.hh:345: error: struct
Dune::PDELab::<unnamed>::BlockProcessorHelper<GFS, true, k>
I solved it by specializing
template<typename GFS>
struct BlockProcessorHelper<GFS, true, 1>
{
// copied from BlockProcessorHelper<GFS, true, k>
};
Kind regards
Bernd
--
_____________________________________________________________________
Bernd Flemisch phone: +49 711 685 69162
IWS, Universität Stuttgart fax: +49 711 685 60430
Pfaffenwaldring 61 email: bernd at iws.uni-stuttgart.de
D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de
_____________________________________________________________________
More information about the dune-pdelab
mailing list