-- FreeFem++ v4.6 (Thu Apr 2 15:47:38 CEST 2020 - git v4.6) Load: lg_fem lg_mesh lg_mesh3 eigenvalue 1 : // Discussion: 2 : // 3 : // This example reads a mesh created by mesh_write.edp. 4 : // 5 : // Location: 6 : // 7 : // http://people.sc.fsu.edu/~jburkardt/freefem_src/mesh_read/mesh_read.edp 8 : // 9 : // Licensing: 10 : // 11 : // This code is distributed under the GNU LGPL license. 12 : // 13 : // Modified: 14 : // 15 : // 21 June 2015 16 : // 17 : // Author: 18 : // 19 : // John Burkardt 20 : // 21 : // Reference: 22 : // 23 : // Frederic Hecht, 24 : // Freefem++, 25 : // Third Edition, version 3.22 26 : // 27 : cout << "\n"; 28 : cout << "mesh_read\n"; 29 : cout << " FreeFem++ version\n"; 30 : cout << " Read a file defining the mesh to be used.\n"; 31 : // 32 : // Define Th, the triangulation of the "left" side of the boundaries, 33 : // by reading in the mesh created by the "mesh_write" program. 34 : // 35 : mesh Th = readmesh ( "mesh_write_mesh.msh" ); 36 : // 37 : // Plot the mesh. 38 : // 39 : plot ( Th, ps = "mesh_read.ps" ); 40 : // 41 : // When reading a mesh file back into FreeFem++, the "names" of the 42 : // borders are lost, but the label values are available. 43 : // 44 : // Terminate. 45 : // 46 : cout << "\n"; 47 : cout << "mesh_read\n"; 48 : cout << " Normal end of execution.\n"; 49 : 50 : sizestack + 1024 =1256 ( 232 ) mesh_read FreeFem++ version Read a file defining the mesh to be used. -- mesh: Nb of Triangles = 18, Nb of Vertices 15 mesh_read Normal end of execution. times: compile 0.003837s, execution 0.000329s, mpirank:0 CodeAlloc : nb ptr 3437, size :467584 mpirank: 0 Ok: Normal End