← Back to team overview

fenics team mailing list archive

IndexError: index (4) out of range (0<=index<=4) in dimension 1

 

Hi,

After careful thinking, I almost got the form compiled, except one error which I don't understand:
  File "/home/aharon/local/lib/python2.4/site-packages/ffc/compiler/codegeneration/tensor/tensorgenerator.py", line 296, in __generate_element_tensor
    a0 = A0.A0[tuple(i + a)]
IndexError: index (4) out of range (0<=index<=4) in dimension 1


And the form file is in the attachment, which I wrote to solve incompressible nonlinear elasticity problem.

Thank you!

Best,
Chong Luo





      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Attachment: Elasticity.form
Description: Binary data