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

Oliver Sander sander at igpm.rwth-aachen.de
Tue Oct 8 09:40:38 CEST 2013


Okay, found it.  Sorry for the noise.

Am 08.10.2013 09:39, schrieb Oliver Sander:
> 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
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20131008/b064ecde/attachment.sig>


More information about the Dune-devel mailing list