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

Carsten Gräser graeser at math.fu-berlin.de
Fri Nov 20 12:27:52 CET 2009


Oliver Sander schrieb:
> Is it used anywhere?
Even if it is - we should switch to the new method and remove this one.


> As long as the generic reference elements are not
> released we could just scrap the method.
With this in mind we might also discuss why global()
is wrapped in the new reference element while local()
is not. IMHO this should be consistent.

Carsten



> 
> --
> Oliver
> 
> Andreas Dedner schrieb:
>> 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





More information about the Dune mailing list