ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #01250
Re: rot and curl
No reason. I'll fix them.
Martin
On Fri, Apr 24, 2009 at 6:16 PM, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
> Is there any particular reason why 'rot' is not implemented,
>
> def rot(self, o, a):
> raise NotImplementedError # FIXME
>
>
> and 'curl' is,
>
> def curl(self, o, a):
> # o = curl a = "cross(nabla, a)"
> def c(i, j):
> return a[j].dx(i) - a[i].dx(j)
> return as_vector((c(1,2), c(2,0), c(0,1))) # FIXME: Verify this
>
>
> Should there be a check in curl that the vector function is in R^3?
>
> Garth
> _______________________________________________
> UFL-dev mailing list
> UFL-dev@xxxxxxxxxx
> http://fenics.org/mailman/listinfo/ufl-dev
>
Follow ups
References