[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:39:44 CEST 2013


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


-------------- 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/57c1efdd/attachment.sig>


More information about the Dune-devel mailing list