[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Getfem-users] Global face index
From: |
Torquil Macdonald Sørensen |
Subject: |
Re: [Getfem-users] Global face index |
Date: |
Mon, 06 Sep 2010 15:46:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6 |
Hi Yves,
(sorry if you get two of these. As usual, I initially chose "Reply" instead
"Reply to all")
Basically, I need the following in my 3d tetrahedron mesh:
A global enumeration of faces (one index value for each face). E.g. in the form
of a mapping that for each global face index value gives me a global convex
index value, along with a local face index within that convex.
I can create this by looping through convexes and local face indices. I would
get a lot a duplicate faces since many convexes share faces. So I'd have to
remove those duplicates afterwards.
But perhaps some "trick" is possible? E.g. to use a mesh_fem so that there is
one DOF on each face, and then use the global DOF index as the global face index?
Btw, is it just my network connectivity or are the pictures on the following
documentation page missing at the moment?:
http://download.gna.org/getfem/html/homepage/userdoc/appendixA.html
Torquil
On 05/09/10 21:18, Renard Yves wrote:
>
>
> Dear Torquil,
>
> What is your goal ? Only to number the faces (in that case, you can make
> a loop on all faces and add it to the mesh and retain the number) or
> something more complex ?
>
> Yves.
>
>
>
> Torquil Macdonald Sørensen <address@hidden> a écrit :
>
>> Hi!
>>
>> I'm trying to use the getfem++ data structures, but for something
>> other than to
>> solve PDEs with getfem.
>>
>> My current program uses getfem to generate a 3d tetrahedron mesh. In
>> addition I
>> have created a FEM_NEDELEC(3) FEM method on this mesh since my DOFs
>> (degrees of
>> freedom) are situated on the edges.
>>
>> I see that convexes and and vertices of the mesh are accessible
>> through global
>> indices.
>>
>> Since the DOFs of the FEM_NEDELEC(3) method are located on the edges
>> of each
>> tetrahedron, these are also accessible through a global index.
>>
>> But, can I also have the set of faces accessible through a global
>> index? I want
>> to calculate a sum over all faces.
>>
>> Best regards
>> Torquil Sørensen
>>
>> _______________________________________________
>> Getfem-users mailing list
>> address@hidden
>> https://mail.gna.org/listinfo/getfem-users
>>
>
>
>