On Wed, Apr 29, 2015 at 12:58 PM, Valentina <[email protected]> wrote:
> What is the error message? Same as before?
>
>
> No, the message error is different:
>
> Traceback (most recent call last):
>   File "prova.py", line 4, in <module>
>     mesh = UnitSquare(6, 4)
> NameError: name 'UnitSquare' is not defined

UnitSquare was renamed to UnitSquareMesh in FEniCS 1.1.

Johannes

>
> Il giorno 29/apr/2015, alle ore 12:43, Johannes Ring <[email protected]> ha
> scritto:
>
> On Wed, Apr 29, 2015 at 12:34 PM, Valentina <[email protected]> wrote:
>
> Does it work if you run /usr/bin/python?
>
>
> Yes, it does. But if I run a python code for FEniCS i have problems.
>
>
> Also when you do
>
>  /usr/bin/python file_name.py
>
> ?
>
> What is the error message? Same as before?
>
> Johannes
>
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to