[dune-fem] Problem when compile the tutorial of fem-1.3.1 on fem-1.4

Xiang Yu x.z.yu at dundee.ac.uk
Fri Aug 1 21:29:11 CEST 2014


hi, i am Xiang from University of Dundee.


Recently, i was confused by the tutorial of fem-1.4. In this tutorial, it does not use the classes of Matrix anyone and use Ellipticoperator instead of Laplaceoperator. Therefore, when i complied the tutorial of stokes, it showed that  "error: no type named ‘BaseFunctionSetType’".


Then i did find that the tutorial of heat equation did not use the BaseFunctionSetType in fem-1.4.


Can you give me any suggestion?



In file included from algorithm.hh:113:0,
                 from main.cc:45:
laplaceoperator.hh: In instantiation of ‘class Dune::LaplaceFEOp<Dune::Fem::AdaptiveDiscreteFunction<Dune::Fem::LagrangeDiscreteFunctionSpace<Dune::Fem::FunctionSpace<double, double, 3, 3>, Dune::Fem::LeafGridPart<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0u, (Dune::ALUGridRefinementType)1u> >, 2, Dune::Fem::CachingStorage> >, Dune::Fem::SparseRowMatrixTraits<Dune::Fem::LagrangeDiscreteFunctionSpace<Dune::Fem::FunctionSpace<double, double, 3, 3>, Dune::Fem::LeafGridPart<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0u, (Dune::ALUGridRefinementType)1u> >, 2, Dune::Fem::CachingStorage>, Dune::Fem::LagrangeDiscreteFunctionSpace<Dune::Fem::FunctionSpace<double, double, 3, 3>, Dune::Fem::LeafGridPart<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0u, (Dune::ALUGridRefinementType)1u> >, 2, Dune::Fem::CachingStorage> > >’:
algorithm.hh:317:25:   required from ‘void Algorithm<GridImp, velocityPolynomialOrder, pressurePolynomialOrder, GridPartImp>::operator()(Algorithm<GridImp, velocityPolynomialOrder, pressurePolynomialOrder, GridPartImp>::DiscreteVelocityFunctionType&) [with GridImp = Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0u, (Dune::ALUGridRefinementType)1u>; int velocityPolynomialOrder = 2; int pressurePolynomialOrder = 1; GridPartImp = Dune::Fem::LeafGridPart<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0u, (Dune::ALUGridRefinementType)1u> >; Algorithm<GridImp, velocityPolynomialOrder, pressurePolynomialOrder, GridPartImp>::DiscreteVelocityFunctionType = Dune::Fem::AdaptiveDiscreteFunction<Dune::Fem::LagrangeDiscreteFunctionSpace<Dune::Fem::FunctionSpace<double, double, 3, 3>, Dune::Fem::LeafGridPart<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0u, (Dune::ALUGridRefinementType)1u> >, 2, Dune::Fem::CachingStorage> >]’
../../dune/fem-howto/base.hh:90:16:   required from ‘void compute(Algorithm&) [with Algorithm = Algorithm<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0u, (Dune::ALUGridRefinementType)1u>, 2, 1>]’
main.cc:99:22:   required from here
laplaceoperator.hh:61:7: error: no type named ‘BaseFunctionSetType’ in ‘Dune::LaplaceFEOp<Dune::Fem::AdaptiveDiscreteFunction<Dune::Fem::LagrangeDiscreteFunctionSpace<Dune::Fem::FunctionSpace<double, double, 3, 3>, Dune::Fem::LeafGridPart<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0u, (Dune::ALUGridRefinementType)1u> >, 2, Dune::Fem::CachingStorage> >, Dune::Fem::SparseRowMatrixTraits<Dune::Fem::LagrangeDiscreteFunctionSpace<Dune::Fem::FunctionSpace<double, double, 3, 3>, Dune::Fem::LeafGridPart<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0u, (Dune::ALUGridRefinementType)1u> >, 2, Dune::Fem::CachingStorage>, Dune::Fem::LagrangeDiscreteFunctionSpace<Dune::Fem::FunctionSpace<double, double, 3, 3>, Dune::Fem::LeafGridPart<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0u, (Dune::ALUGridRefinementType)1u> >, 2, Dune::Fem::CachingStorage> > >::DiscreteFunctionSpaceType {aka class Dune::Fem::LagrangeDiscreteFunctionSpace<Dune::Fem::FunctionSpace<double, double, 3, 3>, Dune::Fem::LeafGridPart<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0u, (Dune::ALUGridRefinementType)1u> >, 2, Dune::Fem::CachingStorage>}’
       BaseFunctionSetType;
       ^


The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-fem/attachments/20140801/281ee55c/attachment.htm>


More information about the dune-fem mailing list