← Back to team overview

ufl team mailing list archive

Re: Restriction syntax

 

On Thu, May 14, 2009 at 9:40 AM, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
>
>
> Martin Sandve Alnæs wrote:
>>
>> Is there a mathematical difference?
>>
>
> Splitting hairs, I would say yes and that grad(u('+')) is correct and
> grad(u)('+') is not because grad(u) is not defined in a classical sense. I
> prefer grad(u('+')), but FFC used to use grad(u)('+'). My preference is
> however not strong.
>
> My immediate question is will the generated code differ for grad(u('+')) and
> grad(u)('+')?

SFC doesn't have interior facet integrals,
but there should be no problem doing this
whatever way the right way is.

Martin


References