Hi again!

I think I have managed to get what I wanted.

First, I made a tetrahedron "helpMesh" that spans a 3d domain.

Then I made an empty "mymesh" and copoied only the points from helpMesh.

Then I looped through the convexes and faces of helpMesh, for each face adding 
a 
2d triangle as a convex in mymesh. By using the add_convex function I don't get 
more than one of each face.

So "mymesh" spans a 3d domain, but its convexes are 2d triangles. The global 
convex index on this mesh provides what I wanted.

I will also get a global index for the edges by using the NEDELEC(2) FEM on 
this 
mesh, so I pretty much have what I want now. The base_point for each DOF will 
allow me to find the orientation of each edge, which I will also need.

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.

>


_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to