Good to know, thanks.

Regards, Miro

On 05/23/2014 12:57 PM, Martin Sandve Alnæs wrote:
Yes, expr.T is the transpose of expr in UFL...

Martin


On 23 May 2014 12:55, Miroslav Kuchta <[email protected] <mailto:[email protected]>> wrote:

    Hi again,

    consider

    x = Expression('a + A*x[0]', a=1, A=2)
    # Works

    x = Expression('t + T*x[0]', t=1, T=2)
    # AttributeError: can't set attribute

    x = Expression('T*x[0]', T=2)
    # AttributeError: can't set attribute

    Is there something special about "T"? I run through all upper and
    lower case letters
    (see here
    
<http://nbviewer.ipython.org/github/MiroK/fenics-qa/blob/master/Untitled0.ipynb>)
    and there seems to be a problem with "e", "x" as well. However, these
    are not AttributeError and "x" failing is understandable.

    Regards, Miro

    _______________________________________________
    fenics mailing list
    [email protected] <mailto:[email protected]>
    http://fenicsproject.org/mailman/listinfo/fenics



_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to