Dear Wen, The convex numbering depend only on the mesh, so it is the same, yes. However, the dof numbering in a P0 discontinuous fem is not the same as the numbering of convexes. The correspondance is given by the mesh_fem object.
Yves. Le 04/03/2014 21:26, Wen Jiang a écrit : > Dear Yves, > > Thanks and I agree it will not be difficult. I think we could compute > the gradient on a discontinuous fem with p-1 order and then use > convex_to_point > <http://download.gna.org/getfem/doc/getfem_reference/classbgeot_1_1mesh__structure.html#aba829d622f3883ae29379ffe6aa34e99> > to get the corresponding elements attached to a node. The > convex_to_point returns a container of the convex in the mesh > structure and my question is that is the order(numbering) of convex in > the mesh the same as the one in continuous fem and the discontinuous > fem suppose they are defined on the same mesh? Thanks. > > Regards, > Wen > > > On Tue, Mar 4, 2014 at 2:51 PM, Yves Renard <[email protected] > <mailto:[email protected]>> wrote: > > Dear Wen, > > No this function is not available in Getfem. It would not be very > difficult to do of course. > > Yves. > > ----- Original Message ----- > From: "Wen Jiang" <[email protected] <mailto:[email protected]>> > To: [email protected] <mailto:[email protected]> > Sent: Monday, March 3, 2014 11:01:00 PM > Subject: [Getfem-users] smoothed nodal gradient > > > > > Dear all, > > > With linear elements, the gradients are discontinuous from element > to element. Is there any way in getfem that we can obtain a > smoothed gradient at each node which is basically the average of > gradients of the elements connected to that node? Thanks in advance. > > Regards, > Wen > > _______________________________________________ > Getfem-users mailing list > [email protected] <mailto:[email protected]> > https://mail.gna.org/listinfo/getfem-users > > -- Yves Renard ([email protected]) tel : (33) 04.72.43.87.08 Pole de Mathematiques, INSA-Lyon fax : (33) 04.72.43.85.29 20, rue Albert Einstein 69621 Villeurbanne Cedex, FRANCE http://math.univ-lyon1.fr/~renard ---------
_______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
