[Dune] [Dune-Commit] dune-grid r4543 - in trunk/grid/alugrid: 2d 3d

Christian Engwer christi at uni-hd.de
Wed Nov 19 09:26:25 CET 2008


On Wed, Nov 19, 2008 at 08:35:01AM +0100, mnolte at dune-project.org wrote:
> Author: mnolte
> Date: 2008-11-19 08:35:01 +0100 (Wed, 19 Nov 2008)
> New Revision: 4543
> 
> Modified:
>    trunk/grid/alugrid/2d/grid.hh
>    trunk/grid/alugrid/3d/grid.hh
> Log:
> Make ALUGrid conform to Christian's change (revision 4542).
> 
> It would be helpful, if such changes are announced on the mailing list.

If alugrid would not reimplement stuff available in grid/common you
would not have had any work.

If the GridTraits in grid/common are not sufficient for alugrid, it
would be helpful to discuss the short comings instead of doning some
copy and past subclassing.

Christian

> 
> 
> Modified: trunk/grid/alugrid/2d/grid.hh
> ===================================================================
> --- trunk/grid/alugrid/2d/grid.hh	2008-11-18 17:15:52 UTC (rev 4542)
> +++ trunk/grid/alugrid/2d/grid.hh	2008-11-19 07:35:01 UTC (rev 4543)
> @@ -127,7 +127,8 @@
>  
>          typedef Dune::LeafIterator<cd,All_Partition,const GridImp,ALU2dGridLeafIterator> LeafIterator;
>  
> -        typedef Dune::EntityPointer<const GridImp,ALU2dGridEntityPointer<cd,const GridImp> > EntityPointer;
> +        typedef ALU2dGridEntityPointer< cd, const GridImp > EntityPointerImpl;
> +        typedef Dune::EntityPointer< const GridImp, EntityPointerImpl > EntityPointer;
>  
>          template <PartitionIteratorType pitype>
>          struct Partition
> 
> Modified: trunk/grid/alugrid/3d/grid.hh
> ===================================================================
> --- trunk/grid/alugrid/3d/grid.hh	2008-11-18 17:15:52 UTC (rev 4542)
> +++ trunk/grid/alugrid/3d/grid.hh	2008-11-19 07:35:01 UTC (rev 4543)
> @@ -140,7 +140,8 @@
>  
>          typedef Dune::LeafIterator<cd,All_Partition,const GridImp,ALU3dGridLeafIterator> LeafIterator;
>  
> -        typedef Dune::EntityPointer<const GridImp,ALU3dGridEntityPointer<cd,const GridImp> > EntityPointer;
> +        typedef ALU3dGridEntityPointer< cd, const GridImp > EntityPointerImpl;
> +        typedef Dune::EntityPointer< const GridImp, EntityPointerImpl > EntityPointer;
>  
>          template <PartitionIteratorType pitype>
>          struct Partition
> 
> 
> _______________________________________________
> Dune-Commit mailing list
> Dune-Commit at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-commit
> 
> 



More information about the Dune mailing list