[Dune-devel] Fwd: Re: Interface class for EntitySeed
Martin Nolte
nolte at mathematik.uni-freiburg.de
Mon Jan 21 15:02:26 CET 2013
-------- Original Message --------
Subject: Re: [Dune-devel] Interface class for EntitySeed
Date: Mon, 21 Jan 2013 15:00:51 +0100
From: Martin Nolte <nolte at mathematik.uni-freiburg.de>
To: Oliver Sander <sander at igpm.rwth-aachen.de>
Does this mean that (except for ALUGrid), the EntitySeed does currently not
work with containers anymore? If so, I would consider this a bug (which
belongs into the FlySpray).
Best,
Martin
On 01/21/2013 02:24 PM, Oliver Sander wrote:
>
>>> Dear Dune,
>>> you may have noticed that I have added an EntitySeed interface class
>>> to dune-grid. We use the wrapper/engine concept for almost everything
>>> we do in the grid interface, but it was missing for EntitySeed.
>>> This change should go unnoticed for users of the grid interface.
>>> However, grid implementations may need small changes. I have done
>>> them for all grids in dune-grid. All tests pass here -- apologies if I
>>> broke anything.
>> shouldn't we also enforce a copy constructor and assignment operator
>> in order to be able to store EntiySeeds in containers?
>>
>> Best,
>> Carsten
> Hi Carsten,
> I have just added all methods needed to make the test pass. Adding methods
> to allow containers of EntitySeeds does of course sound reasonable.
> best,
> Oliver
>
>
>>
>>> One exception has been the ALUGrid implementation. There,
>>> the changes appeared to be a little more invasive, and I didn't dare to
>>> mess with that. Since ALUGrid doesn't use the official GridTraits class
>>> anyway (which forces the use of the interface class), it still returns
>>> its EntitySeed
>>> implementation class directly.
>>> best,
>>> Oliver
>> _______________________________________________
>> Dune-devel mailing list
>> Dune-devel at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune-devel
>
>
> _______________________________________________
> Dune-devel mailing list
> Dune-devel at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-devel
--
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-devel
mailing list