dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #11021
Re: Coefficient setting the name of Function
On Mon, Dec 08, 2008 at 11:24:34AM +0100, Martin Sandve Alnæs wrote:
> Coefficient sets the name of the Function assigned to it, I find that
> counter-intuitive:
>
> MyForm a(...);
> MyForm b(...);
> Function u(V);
> u.rename("myname", "mylabel");
> a.u = u; // u gets name from a
> b.w = u; // u gets name from b
Maybe not intuitive, but I think it's good to have. I imagine the
rename() function is rarely used, so if it can happen automatically,
it can be a help in most circumstances.
Maybe we could change it so that the name is only changed if it has
not been set before?
--
Anders
Attachment:
signature.asc
Description: Digital signature
Follow ups
References