Hi,
If you need to integrate the gradient over the element mutiplied by a certain quantity, then the assembly function can be used. Otherwise, there is not the possibility to compute the gradient on just a few elements, this is right. One possibility should be to define the target fem on which the gradient is interpolated with only a few elements but this possibility does not work because the loop is made on the elements of the original fem in the function compute_gradient (getfem_derivative.h). This is not consistent, the loop should be made only on the elements of the target fem. I will correct this. Yves. Quoting "[email protected]" <[email protected]>: > Hi > > I've got a big mesh in finite elements, I would like to > calculate the gradient in a few elements. > > The function gf_compute(MF, U,'gradient', meshfem MFGRAD) > does not take a list of elements in argument. Is there a > getfem function or another way with getfem to have the > gradient only for the list of elements which interests me ? > > Greetings > Stanislas LARNIER > > > Bonjour > > J'ai un gros maillage en éléments finis et je veux calculer > le gradient uniquement pour quelques éléments. > > La syntaxe de la fonction gf_compute(MF, U,'gradient', > meshfem MFGRAD) ne me permet pas de préciser une liste > d'éléments lorsque je demande de calculer le gradient. > Existe-t-il une fonction getfem ou une autre manière de > coder avec getfem pour avoir le résultat souhaité sans > calculer le gradient pour chaque élément ? > > Cordialement > Stanislas LARNIER > > > > ---------------------- ALICE N°1 de la RELATION CLIENT > 2008*-------------------- > Découvrez vite l'offre exclusive ALICE BOX! En cliquant ici > http://abonnement.aliceadsl.fr Offre soumise à conditions.*Source : > TNS SOFRES / BEARING POINT. Secteur Fournisseur d.Accès Internet > > > > _______________________________________________ > Getfem-users mailing list > [email protected] > https://mail.gna.org/listinfo/getfem-users > _______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
