[Dune] Fwd: Re: Difference betweendune/geometry/genericgeometry/referenceelements.hh anddune/geometry/referenceelements.hh ???

Oliver Sander sander at mi.fu-berlin.de
Wed Nov 16 10:19:49 CET 2011


Hi Martin,
thanks for the information.  I see that there are no low-hanging fruits 
here.
The header is now marked as 'internal' in the documentation.  Hopefully this
will reduce confusion a little bit.
best,
Oliver

Am 16.11.2011 09:59, schrieb Martin Nolte:
>
>
> -------- Original Message --------
> Subject: Re: [Dune] Difference
> betweendune/geometry/genericgeometry/referenceelements.hh
> anddune/geometry/referenceelements.hh ???
> Date: Wed, 16 Nov 2011 09:58:54 +0100
> From: Martin Nolte <nolte at mathematik.uni-freiburg.de>
> To: Oliver Sander <sander at mi.fu-berlin.de>
>
> Hi Oli,
>
> this is hard to say. The DUNE reference element interface requires a
> function
> "global". To implement this function, we use a CornerMapping. But this
> mapping
> also requires some information about the reference element, which is
> encapsulated in the GenericGeometry reference element.
>
> To make a long answer short: I think I would switch to the GenericGeometry
> reference element, because the method "global" is rarely used anyway and
> you
> can easily construct a suitable CornerMapping. But this change is far too
> intrusive.
>
> If we want to get rid of this redundancy, we could think about
> deprecating the
> functions "global" and "mapping" (I think that's it). After their
> removal, it
> might then be possible to always use the DUNE reference element interface.
> However, in this case I would like to discuss the entire reference element
> interface on a developer meeting.
>
> Best,
>
> Martin
>
> On 11/15/2011 10:50 PM, Oliver Sander wrote:
>> Hi,
>> Martin's comment seems to imply that there may be some redundancy in the
>> files, as a left-over from old times. Is this true? What would you
>> change/
>> clean up if you had infinite ressources?
>> --
>> Oliver
>>
>> Am 15.11.2011 22:25, schrieb Dedner, Andreas:
>>> No - include dune/geometry/referenceelements.hh
>>> If you look into the old files (e.g.
>>> dune/grid/common/genericreferenceelements.hh)
>>> the correct new file should be mentioned there.
>>>
>>> Greetings
>>> Andreas
>>>
>>> -----Original Message-----
>>> From: dune-bounces+a.s.dedner=warwick.ac.uk at dune-project.org on behalf
>>> of Oswald Benedikt
>>> Sent: Tue 11/15/2011 8:57 PM
>>> To: Martin Nolte; dune at dune-project.org
>>> Subject: Re: [Dune] Difference
>>> betweendune/geometry/genericgeometry/referenceelements.hh
>>> anddune/geometry/referenceelements.hh ???
>>>
>>> Hello Martin,
>>>
>>> thanks, in fact we are adapting our codes to the new situation,
>>> thus we need to be sure on what is to be done, since the change with the
>>> new dune geometry module took us somewhat by surprise.
>>>
>>> Of course, there was discussion on the mailing list, but with mainly
>>> physical problems
>>> in mind we were a bit distracted.
>>>
>>>
>>> Thus, we include dune/geometry/genericgeometry/referenceelements.hh
>>> and all is well ?
>>>
>>>
>>> Greetings, Benedikt
>>>
>>>
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Martin Nolte [mailto:nolte at mathematik.uni-freiburg.de]
>>> Sent: Tue 11/15/2011 21:42
>>> To: Oswald Benedikt; Dune
>>> Subject: Re: [Dune] Difference between
>>> dune/geometry/genericgeometry/referenceelements.hh and
>>> dune/geometry/referenceelements.hh ???
>>>
>>> Hi Benedikt,
>>>
>>> a simple answer would be: The file
>>> 'dune/geometry/genericgeometry/referenceelements.hh' is private to the
>>> GenericGeometry implementation.
>>>
>>> A hint to the long answer is that 'dune/geometry/referenceelements.hh'
>>> mimicks
>>> the interface for a DUNE reference element as was originally provided in
>>> DUNE
>>> (before the inclusion of the generic geometries).
>>>
>>> Is there any specific reason for the question or are you just curious?
>>>
>>> Best,
>>>
>>> Martin
>>>
>>> On 11/15/2011 04:30 PM, Benedikt Oswald wrote:
>>>> Hello Dune, what is the difference between
>>>>
>>>>
>>>> dune/geometry/genericgeometry/referenceelements.hh
>>>>
>>>> and
>>>>
>>>>
>>>> dune/geometry/referenceelements.hh ???
>>>>
>>>>
>>>> Thanks for a hint! Greetings, Benedikt
>>>>
>>>>
>>>>
>>> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>>
>>>
>>>> Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch,
>>> Computational Accelerator Scientist, http://amas.web.psi.ch
>>>> Paul Scherrer Institute (PSI), CH-5232 Villigen, Suisse,
>>> benedikt.oswald at psi.ch, +41(0)56 310 32 12
>>>>
>>>> "Passion is required for any great work, and for the revolution
>>> passion and audacity are required in big doses.",
>>>> Ernesto 'Che' Guevara, Letter to his parents.
>>>>
>>> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>>
>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Dune mailing list
>>>> Dune at dune-project.org
>>>> http://lists.dune-project.org/mailman/listinfo/dune
>>>
>>> --
>>> Martin Nolte <nolte at mathematik.uni-freiburg.de>
>>>
>>> Universität Freiburg phone: +49-761-203-5630
>>> Abteilung für angewandte Mathematik fax: +49-761-203-5632
>>> Hermann-Herder-Straße 10
>>> 79104 Freiburg, Germany
>>>
>>>
>>> _______________________________________________
>>> Dune mailing list
>>> Dune at dune-project.org
>>> http://lists.dune-project.org/mailman/listinfo/dune
>>>
>>>
>>>
>>> _______________________________________________
>>> Dune mailing list
>>> Dune at dune-project.org
>>> http://lists.dune-project.org/mailman/listinfo/dune
>>
>> _______________________________________________
>> Dune mailing list
>> Dune at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune
>




More information about the Dune mailing list