[Dune] Fwd: Re: MultiLinearGeometry

Martin Nolte nolte at mathematik.uni-freiburg.de
Fri Oct 12 16:52:38 CEST 2012



-------- Original Message --------
Subject: Re: [Dune] MultiLinearGeometry
Date: Fri, 12 Oct 2012 16:51:26 +0200
From: Martin Nolte <nolte at mathematik.uni-freiburg.de>
To: Oliver Sander <sander at mi.fu-berlin.de>

Hi Oli,

as the name says, the user data field is for your data. GeometryGrid uses it for
the reference count. If you specify an empty class, no memory is used (a trick I
learned from gcc's std::vector). If you don't need it, just leave it at the
default (empty).

Best,

Martin

On 10/12/2012 04:50 PM, Oliver Sander wrote:
> Hi Martin,
> thanks! I'm looking forward to making UGGrid use that instead of
> BasicGeometry.
> Can you give a short explanation what the userData is good for?
> best,
> Oliver
>
> Am 12.10.2012 16:03, schrieb mnolte at dune-project.org:
>> Author: mnolte
>> Date: 2012-10-12 16:03:14 +0200 (Fri, 12 Oct 2012)
>> New Revision: 1072
>>
>> Modified:
>> recent_changes.wml
>> Log:
>> announce the new MultiLinearGeometry (see FS#1182)
>>
>>
>> Modified: recent_changes.wml
>> ===================================================================
>> --- recent_changes.wml 2012-10-09 16:18:26 UTC (rev 1071)
>> +++ recent_changes.wml 2012-10-12 14:03:14 UTC (rev 1072)
>> @@ -54,6 +54,11 @@
>> dimension and codimension. Since such hypercubes have a lot of structure, the
>> implementation
>> is very fast.
>> </li>
>> +<li>A reimplementation of the generic geometries,
>> named<kbd>MultiLinearGeometry</kbd>
>> + has been added. It comes without a complicated TMP and abandons the use of
>> dynamic
>> + polymorphism in the case of multiple geometry types. Despite these
>> simplifications,
>> + it shows slightly better performance.
>> +</li>
>> </ul>
>>
>> <h3>Deprecated and removed features</h3>
>> @@ -91,6 +96,9 @@
>> Jacobians to be FieldMatrices anymore. The precise interface requirements for
>> these matrices
>> is still being worked out.
>> </li>
>> +<li><kbd>GeometryGrid</kbd> now uses the new<kbd>MultiLinearGeometry<kbd>
>> instead of the
>> + generic geometry implementaton.
>> +</li>
>> </ul>
>>
>> <h3>Deprecated and removed features</h3>
>>
>>
>> _______________________________________________
>> Dune-Commit mailing list
>> Dune-Commit at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune-commit
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune

-- 
Dr. 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




More information about the Dune mailing list