Problem with Rectangle

Asked by marcin

HI,

I have a Problem with Rectangle after the update to FEniCS 1.1.0.

mesh = Rectangle(0, 0, xlength, ylength, xelements, yelements)

ERROR: new_Rectangle has 4 atributes, got 6

Ist there an example for the new_rectangle?

Best regards
Marcin

Question information

Language:
English Edit question
Status:
Solved
For:
FEniCS Project Edit question
Assignee:
No assignee Edit question
Solved by:
marcin
Solved:
Last query:
Last reply:
Revision history for this message
Johan Hake (johan-hake) said :
#1

Try RectangleMesh.

Johan
On Jan 16, 2013 4:35 PM, "marcin" <email address hidden>
wrote:

> New question #219342 on FEniCS Project:
> https://answers.launchpad.net/fenics/+question/219342
>
> HI,
>
> I have a Problem with Rectangle after the update to FEniCS 1.1.0.
>
> mesh = Rectangle(0, 0, xlength, ylength, xelements, yelements)
>
> ERROR: new_Rectangle has 4 atributes, got 6
>
> Ist there an example for the new_rectangle?
>
> Best regards
> Marcin
>
> --
> You received this question notification because you are a member of
> FEniCS Team, which is an answer contact for FEniCS Project.
>

Revision history for this message
marcin (marcin-j-s) said :
#2

Thanks,

it worked.
Had also change 'uint' to 'size_t'.