> On 26 Nov 2014, at 11:07, gilles quemener <[email protected]> wrote: > > Hello, > > Currently I am using, in an external program, some GMSH/GETDP postprocessing > views of a > scalar field calculated on linear elements. The .pos file contains lines like > the following: > > ST(0,0.9,0,0.2666666666660086,0.9,0,0,1.3,0){3.194654609503308,3.099105137740456,3.009640920970774}; > > with the x,y,z coordinates of the 3 triangle corners between the parenthesis > and the associated scalar potential > between the brackets. Is there a function or a method to obtain something > like: > > ST(corner1ID, corner2ID, corner3ID){scalar_at_corner1, scalar_at_corner2, > scalar_at_corner3}; > > where corner1ID, etc ... are the points indices contained in the mesh file of > the problem ? >
Sure - Use the "-v2" option with GetDP : it will create new mesh-based .pos files. > Thanks for any help, > > Gilles > ____________________________________________________________________________________________ > > Gilles Quéméner > Laboratoire de Physique Corpusculaire de CAEN > UMR 6534 - CNRS-IN2P3 - UCBN - ENSICAEN > ENSICAEN - 6 bd Maréchal Juin - 14050 CAEN Cedex > Tel. : +33 (0) 2 31 45 25 40 > Fax. : +33 (0) 2 31 45 25 49 > http://caeinfo.in2p3.fr/rubrique34.html > > > > > > > > > > _______________________________________________ > gmsh mailing list > [email protected] > http://www.geuz.org/mailman/listinfo/gmsh -- Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine _______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
