On Thu, Nov 6, 2014 at 11:28 AM,  <[email protected]> wrote:
> Hello,
> Completely new to Fenics, I've just installed every thing without any
> problem on ubuntu 14.04 LTS following:
>
> http://fenicsproject.org/download/ubuntu_details.html
>
> I try to run the first example of the tutorial and ...
>
> faugeras:~/code/fenics/examples-1.0/stationary/poisson$ python d1_p2D.py
> Reading DOLFIN parameters from file "dolfin_parameters.xml".
> Traceback (most recent call last):
>   File "d1_p2D.py", line 13, in <module>
>     mesh = UnitSquare(6, 4)
> NameError: name 'UnitSquare' is not defined

UnitSquare was renamed to UnitSquareMesh in FEniCS 1.1:

http://fenicsproject.org/releases/1.1/index.html

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

Reply via email to