[dune-fem] Dune::Fem::GeoGridPart vs. Dune::GeometryGrid

Tobias Malkmus tomalk at mathematik.uni-freiburg.de
Tue Nov 5 17:33:15 CET 2013


Hi Andrea
On 11/05/2013 05:16 PM, Sacconi, Andrea wrote:
> HI Tobias,
>
> thanks for the tip. I have replicated your example, but I still get the same error from the compiler:
>
> /dune/grid/common/intersectioniterator.hh:89:1: error: no type named ‘GridFamily’ in ‘const struct Dune::Fem::GeoGridPartFamily<Dune::Fem::AdaptiveDiscreteFunction<Dune::Fem::LagrangeDiscreteFunctionSpace<Dune::Fem::FunctionSpace<double, double, 3, 3>, Dune::Fem::AdaptiveLeafGridPart<Dune::AlbertaGrid<2, 3>, (Dune::PartitionIteratorType)4u, false>, 1, Dune::Fem::CachingStorage> > >’

The GeoGridPart must be used in the same way as all other gridparts in 
dune-fem.

Which means the intersection iterator needs to be taken from the 
gridPart, eg.:

//-----------------------------------
typedef GridPartType :: IntersectionIteratorType IntersectionIteratorType;
IntersectionIteratorType end = gridPart.iend( entity );
//-----------------------------------

Best Tobias

>
> Any idea?
> __________________________________________________________
>
> Andrea Sacconi
> PhD student, Applied Mathematics
> AMMP Section, Department of Mathematics, Imperial College London,
> London SW7 2AZ, UK
>


-- 
Tobias Malkmus                 <tomalk at mathematik.uni-freiburg.de>

Mathematisches Institut               Tel: +49 761 203 5627
Abt. für Angewandte Mathematik        Universität Freiburg
Hermann-Herder-Str. 10
79104 Freiburg





More information about the dune-fem mailing list