Looks to me like a bug - the code extract in question is DOLFIN code,
not pure UFL.
Garth
On 22 November 2011 12:10, Lothar Schumacher <email address hidden> wrote:
> The python script in question starts with
>
> "from dolfin import *
> mesh = UnitSquare(8, 8)
> V = VectorElement(mesh, "Lagrange", 1)"
>
> If I run this through python I get
>
> "Invalid domain Lagrange."
>
> "V=VectorFunctionSpace(mesh, "Lagrange", 1)" would work and to me makes
> much more sense.
>
> --
> You received this bug notification because you are a member of FEniCS
> Book Editors, which is subscribed to FEniCS Book Project.
> https://bugs.launchpad.net/bugs/893029
>
> Title:
> Used VectorElement instead of VectorFunctionSpace in python script
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/fenics-book/+bug/893029/+subscriptions
>
Looks to me like a bug - the code extract in question is DOLFIN code,
not pure UFL.
Garth
On 22 November 2011 12:10, Lothar Schumacher <email address hidden> wrote: onSpace( mesh, "Lagrange", 1)" would work and to me makes /bugs.launchpad .net/bugs/ 893029 /bugs.launchpad .net/fenics- book/+bug/ 893029/ +subscriptions
> The python script in question starts with
>
> "from dolfin import *
> mesh = UnitSquare(8, 8)
> V = VectorElement(mesh, "Lagrange", 1)"
>
> If I run this through python I get
>
> "Invalid domain Lagrange."
>
> "V=VectorFuncti
> much more sense.
>
> --
> You received this bug notification because you are a member of FEniCS
> Book Editors, which is subscribed to FEniCS Book Project.
> https:/
>
> Title:
> Used VectorElement instead of VectorFunctionSpace in python script
>
> To manage notifications about this bug go to:
> https:/
>