The ufl multidomain infrastructure is finally ready for merging,
already in next and everything looks good.

I want to deprecate some old syntax for cell related quantities, and use
the geometry constructors instead. In dolfin its also better to pass the
mesh instead of ufl cells. A few examples:

mesh.ufl_cell().volume -> CellVolume(mesh)
cell.n -> FacetNormal(mesh)
triangle.x -> SpatialCoordinate(mesh)
... etc. for all ufl geometry quantities.

When running "cell.foo", ufl will output a deprecation warning which should
be sufficiently annoying for everyone to update quickly. Note that
SpatialCoordinate(cell) is backwards compatible, while
SpatialCoordinate(mesh) is future compatible.

If you want to use multiple meshes in a form in the future when other
features get in place, you MUST replace use of cell with mesh, or the
ambiguity will trigger errors.

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

Reply via email to