[Dune-devel] [Dune core modules] Doodle: Should jacobianTransposed & Co return a reference or not?

Martin Nolte nolte at mathematik.uni-freiburg.de
Tue Oct 8 09:46:09 CEST 2013


Hi Oli,

there is your FlySpray task. From the comments I got the same feeling as 
Christoph: We are waiting for votes. If discussion on the FlySpray is still 
insufficient, we might want to get it started. Personally, I'd like this issue 
settled as soon as possible.

Whether this will already be included in the release is a different story. 
However, YaspGrid has already been changed to a non-FieldMatrix return type 
(that does not cast into FieldMatrix &), so I guess we should go the whole way.

Best,

Martin

PS: How did we overlook this issue on the meeting? It seems several people are 
interested.

On 10/08/2013 09:39 AM, Oliver Sander wrote:
> Is there a systematic discussion of the pros and cons somewhere?
> I don't want to vote on this without some information on the consequences.
> --
> Oliver
>
> Am 08.10.2013 09:31, schrieb dune.project at uni-muenster.de:
>>
>> http://users.dune-project.org/doodles/5
>> Martin Nolte
>>
>> See FS#1174.
>>
>> If we want to return by value, I directly added an option to return a copy constructable but not copy assignable value, allowing grid implementations to actually return a reference (typedef FieldMatrix &JacobianTransposed).
>>
>>
>> {{author}} requests that you answer this doodle.
>>
>
>
>
>
> _______________________________________________
> 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