[Dune] Alberta in 3D

Sven Marnach sven at pantoffel-wg.de
Tue Nov 20 16:11:35 CET 2007


Hi everyone,

what is the current state of the 3D implementation of Alberta?  The
last line of the following code doesn't compile for me:

        typedef Dune::AlbertaGrid<3,3> GridType;
        UnitCube<GridType,1> uc;
        GridType& grid = uc.grid();
        GridType::Codim<0>::LeafIterator it = grid.leafbegin<0>();
        GridType::Codim<0>::LeafIntersectionIterator ii = it->ileafbegin();
        ii.outside();

(I know that the intersection possibly doesn't have an outside, but at
least it should compile.)

In two dimensions it works fine.

Regards,
    Sven




More information about the Dune mailing list