[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Getfem-users] Unexpected mesh indexing and fem_dof
From: |
Torquil Macdonald Sørensen |
Subject: |
Re: [Getfem-users] Unexpected mesh indexing and fem_dof |
Date: |
Mon, 13 Aug 2012 10:59:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120805 Icedove/10.0.6 |
On 13/08/12 10:28, Yousef Elkurdi wrote:
Cnvx: 3
Mesh indx [ 0 ]: 3 fem_dof: 3
Mesh indx [ 1 ]: 4 fem_dof: 2 <--- ERROR: this should be (4)
Mesh indx [ 2 ]: 0 fem_dof: 0
On my drawing, the getfem construction seems consistent with dof 2 there.
It is at point 4, at the centre of the mesh. Dof 4 appears at point 2, the
corner of the mesh, on the intersection between convex 1 and 2.
Are you absolutely sure that it should be dof 4?
Be careful not to become confused by the fact that you are referring to the
convexes starting from the index 1 in your program comments, while getfem
enumerates them starting from 0.
Torquil