Comment 4 for bug 893029

Revision history for this message
Martin Sandve Alnæs (martinal) wrote : Re: [Bug 893029] Re: Used VectorElement instead of VectorFunctionSpace in python script

Then I must have looked at the wrong code and I guess you are right!

Martin

On 22 November 2011 13: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 subscribed to FEniCS
> Project.
> https://bugs.launchpad.net/bugs/893029
>
> Title:
>  Used VectorElement instead of VectorFunctionSpace in python script
>
> Status in FEniCS Book Project:
>  Invalid
>
> Bug description:
>  According to the arguments page 197 line 3 of first python script on
>  page should probably use VectorFunctionSpace and not VectorElement.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/fenics-book/+bug/893029/+subscriptions
>