dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #13149
Re: UFL transition
On Tuesday 21 April 2009 09:26:52 Anders Logg wrote:
> After removing the FFC form language from FFC (replaced by UFL), the
> DOLFIN Python interface is now broken.
>
> Edits are needed in quite a few places:
>
> site-packages/dolfin/assemble.py
> site-packages/dolfin/errornorm.py
> site-packages/dolfin/form.py
> site-packages/dolfin/function.py
> site-packages/dolfin/functionspace.py
> site-packages/dolfin/__init__.py
> site-packages/dolfin/norm.py
> site-packages/dolfin/project.py
> site-packages/dolfin/specialfunctions.py
>
> I can do some of these, but the most intricate dependencies are in
> function.py and functionspace.py. Mr Hake?
Please have a look in
site-packages/dolfin/ufl
and you will find some good suggestions on what you need to change. You might
want to
rm site-packages/dolfin/ufl/__init__.py site-packages/dolfin/ufl/cpp.py
cp site-packages/dolfin/ufl/* site-packages/dolfin/
and then
hg rm packages/dolfin/ufl
there are still some rough edges wrt split, and the allready discussed
TensorFunctionSpace. There are some design descisions in the DOLFIN library
and ufl that might make the split quite difficult, as it is now. I have not
have any time to look more thorough into it.
Johan
Follow ups
References