[Dune] [Dune-Commit] dune-grid r5963 - trunk/dune/grid/common

Andreas Dedner dedner at mathematik.uni-freiburg.de
Fri Nov 20 12:00:19 CET 2009


The method with the redundant c parameter was in the original reference
element. We added a second one (as far as we can remember) because we
found the redundant argument weird but did not want to remove the old
method. So why we have redundant parameters is more a question with
respect to the original implementation.

sander at dune-project.org wrote:
> Author: sander
> Date: 2009-11-20 11:27:49 +0100 (Fri, 20 Nov 2009)
> New Revision: 5963
> 
> Modified:
>    trunk/dune/grid/common/genericreferenceelements.hh
> Log:
> mehtod --> method.  What do we need the redundant parameters for?
> 
> Modified: trunk/dune/grid/common/genericreferenceelements.hh
> ===================================================================
> --- trunk/dune/grid/common/genericreferenceelements.hh	2009-11-20 10:18:56 UTC (rev 5962)
> +++ trunk/dune/grid/common/genericreferenceelements.hh	2009-11-20 10:27:49 UTC (rev 5963)
> @@ -209,7 +209,7 @@
>       *
>       *  \note The runtime argument c is redundant and must equal codim.
>       *
> -     *  \note This mehtod is just an alias for
> +     *  \note This method is just an alias for
>       *  \code
>       *  mapping< codim >( i ).global( local );
>       *  \endcode
> @@ -237,7 +237,7 @@
>       *                     element of E
>       *  \param[in]  i      number of subentity E (0 <= i < size( codim ))
>       *
> -     *  \note This mehtod is just an alias for
> +     *  \note This method is just an alias for
>       *  \code
>       *  mapping< codim >( i ).global( local );
>       *  \endcode
> @@ -257,7 +257,7 @@
>       *  \ref Dune::GenericGeometry::HybridMapping HybridMapping that maps
>       *  the reference element of E into the current reference element.
>       *
> -     *  This mehtod can be used in a GenericGeometry to represent subentities
> +     *  This method can be used in a GenericGeometry to represent subentities
>       *  of the current reference element.
>       *
>       *  \tparam     codim  codimension of subentity E
> 
> 
> _______________________________________________
> 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