dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #10119
Re: Built-in meshes.
Nuno David Lopes wrote:
> On Monday 13 October 2008, Anders Logg wrote:
>> On Mon, Oct 13, 2008 at 03:43:46PM +0100, Nuno David Lopes wrote:
>>> I will use Dolfin for 1D also,
>>> there goes another tiny modification to the UnitInterval.h.cpp:
>>> "Interval mesh(nx,a,b)";
>>>
>>> Hope it works.
>> Looks like you forgot to add the Interval class.
>
> Hope it works again...
Python demo poisson1D is broken now whereas the c++ one is fine. The
error message is
Traceback (most recent call last):
File "demo.py", line 19, in <module>
from dolfin import *
File
"/home/vip/programs/fenics/lib64/python2.5/site-packages/dolfin/__init__.py",
line 46, in <module>
from dolfin import UnitInterval, Interval, UnitSquare, Rectangle,
UnitCircle, UnitCube, Box, UnitSphere
ImportError: cannot import name Interval
Sincerely,
Victor.
Follow ups
References