On Tue, Sep 29, 2009 at 07:39:01AM +0100, Garth N. Wells wrote:
> Is there a reason why the MeshFunction.get(..) functions return by value
> rather then reference, e.g. it is currently
>
>      inline T get(const MeshEntity& entity) const
>
> rather than
>
>      inline T& get(const MeshEntity& entity) const
>
> Garth

Yes, we have a set() function for setting the values.

--
Anders

Attachment: signature.asc
Description: Digital signature

_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@fenics.org
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to