← Back to team overview

ufl team mailing list archive

Re: [Branch ~ufl-core/ufl/main] Rev 1014: Add warnings to set_foo functions in finiteelement.py,

 

Decide the cell as well? Some expressions are undefined with the cell
missing, because they need the spatial dimension to determine their shape...
I don't recall at the moment which ones, but at least grad(u) is undefined
if u doesn't have a cell. A likely result when the cell is undefined is
exceptions thrown with certain corner case forms.

Martin

On 27 April 2011 11:40, Garth N. Wells <gnw20@xxxxxxxxx> wrote:

> We need a quick discussion round to resolve this issue - DOLFIN is now
> broken. I guess we need the form compiler to decide on the cell and
> element type, and then have UFL return a new form.
>
> Garth
>
> On 26/04/11 07:32, noreply@xxxxxxxxxxxxx wrote:
> > ------------------------------------------------------------
> > revno: 1014
> > committer: Martin Alnæs <martinal@xxxxxxxxx>
> > branch nick: ufl
> > timestamp: Fri 2011-04-15 21:44:37 +0200
> > message:
> >   Add warnings to set_foo functions in finiteelement.py,
> >   and remove repr modifications after construction time.
> >
> >   If this will break your code, it likely wasn't working
> >   correctly anyway and you need to rewrite it before you
> >   can update to this UFL version.
> >
> >   The set_foo functions will be removed completely before UFL 1.0.
> >
> >   Happy easter holiday :)
> > modified:
> >   ufl/finiteelement.py
> >
> >
> > --
> > lp:ufl
> > https://code.launchpad.net/~ufl-core/ufl/main
> >
> > Your team UFL Core Team is subscribed to branch lp:ufl.
> > To unsubscribe from this branch go to
> https://code.launchpad.net/~ufl-core/ufl/main/+edit-subscription
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~ufl
> Post to     : ufl@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ufl
> More help   : https://help.launchpad.net/ListHelp
>

References