On Tue, Apr 14, 2015 at 9:46 AM, Carlos Ruvalcaba <[email protected]> wrote: > This is the output I get from the terminal > carlosruvalcaba@campus-007-060:poisson$ python poisson.py > Traceback (most recent call last): > File "poisson.py", line 3, in <module> > mesh = UnitSquare(6, 4) > NameError: name 'UnitSquare' is not defined > carlosruvalcaba@campus-007-060:poisson$
UnitSquare was renamed to UnitSquareMesh in the 1.1 release: http://fenicsproject.org/releases/1.1/index.html#interface-changes Johannes > Carlos A. Ruvalcaba > [email protected] > > On Apr 14, 2015, at 12:39 AM, Anders Logg <[email protected]> wrote: > > What error message do you get when you try to run the demos from elsewhere? > > -- > Anders > > > tis 14 apr. 2015 kl 09:24 skrev Carlos Ruvalcaba <[email protected]>: >> >> Hi, >> >> I am able to run the tutorials from the main install directory >> <</Applications/FEniCS.app/Contents/Resources/share/dolfin/demo>>, but not >> when I copy anyone tutorial program file to another directory. It appears >> that the libraries are not imported. I have added the >> source config to my .profile and it successfully shows that the shell is >> ready to work with FEniCS >> >> Running on Mac OS X Yosemite, installed lasted FEniCS distribution. >> >> Thanks for the help. >> >> Carlos A. Ruvalcaba >> [email protected] >> >> _______________________________________________ >> fenics-support mailing list >> [email protected] >> http://fenicsproject.org/mailman/listinfo/fenics-support > > > > _______________________________________________ > fenics-support mailing list > [email protected] > http://fenicsproject.org/mailman/listinfo/fenics-support > _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
