> On 8 Feb 2019, at 17:36, MOURIAUX Sophie (SAFRAN) > <sophie.mouri...@safrangroup.com> wrote: > > Dear Gmsh developers, > > I would like to export the list of nodes with their coordinates on a given > mesh surface. Is there a simple way do that with the Gmsh API ? >
Sure: gmsh::model::mesh::getNodes (see http://gmsh.info/dev/doc/texinfo/gmsh.html#Gmsh-API). For examples, see e.g. explore.{cpp,py} or normals.py in https://gitlab.onelab.info/gmsh/gmsh/blob/master/demos/api. Christophe > Thanks a lot for your help, > > Sophie MOURIAUX > CFD research engineer | Modelling & Simulation Department > > P +33 (0)1 61 31 83 92 > Rue des Jeunes Bois, Châteaufort > CS 80112 – 78772 Magny-les-Hameaux Cedex > www.safran-group.com > <image001.png> > <image002.png> > <image003.png> > <image004.png> > <image005.png> > > C2 - Restricted > > # > " Ce courriel et les documents qui lui sont joints peuvent contenir des > informations confidentielles, être soumis aux règlementations relatives au > contrôle des exportations ou ayant un caractère privé. S'ils ne vous sont pas > destinés, nous vous signalons qu'il est strictement interdit de les > divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit > le contenu. Toute exportation ou réexportation non autorisée est interdite Si > ce message vous a été transmis par erreur, merci d'en informer l'expéditeur > et de supprimer immédiatement de votre système informatique ce courriel ainsi > que tous les documents qui y sont attachés." > ****** > " This e-mail and any attached documents may contain confidential or > proprietary information and may be subject to export control laws and > regulations. If you are not the intended recipient, you are notified that any > dissemination, copying of this e-mail and any attachments thereto or use of > their contents by any means whatsoever is strictly prohibited. Unauthorized > export or re-export is prohibited. If you have received this e-mail in error, > please advise the sender immediately and delete this e-mail and all attached > documents from your computer system." > # > _______________________________________________ > gmsh mailing list > gmsh@onelab.info > http://onelab.info/mailman/listinfo/gmsh — Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine _______________________________________________ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh