[Dune] MultiLinearGeometry

Oliver Sander sander at mi.fu-berlin.de
Fri Oct 12 17:11:55 CEST 2012


Hi Martin,

> as the name says, the user data field is for your data. GeometryGrid
> uses it for the reference count.

just out of curiosity: what's wrong with the stl way of reference counting?

best,
Oliver

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




More information about the Dune mailing list