-- FreeFem++ v4.14 (mer. 06 mars 2024 16:59:04 CET - git v4.14-1-g2b2052ae) file : square_split.edp Load: lg_fem lg_mesh lg_mesh3 eigenvalue 1 : // square_split.edp 2 : // 3 : // Discussion: 4 : // 5 : // This example reads a mesh created by mesh_write.edp. 6 : // 7 : // Licensing: 8 : // 9 : // This code is distributed under the MIT license. 10 : // 11 : // Modified: 12 : // 13 : // 26 July 2015 14 : // 15 : // Author: 16 : // 17 : // John Burkardt 18 : // 19 : // Reference: 20 : // 21 : // Frederic Hecht, 22 : // Freefem++, 23 : // Third Edition, version 3.22 24 : // 25 : cout << "\n"; 26 : cout << "square_split():\n"; 27 : cout << " FreeFem++ version.\n"; 28 : cout << " Read a mesh created by mesh_write().\n"; 29 : // 30 : // Retrieve mesh data from the MSH files 31 : // square_split_o.msh 32 : // and 33 : // square_split_g.msh 34 : // 35 : int n = 10; 36 : mesh Th = readmesh ( "square_split_o.msh" ); 37 : // 38 : // Plot the mesh. 39 : // 40 : plot ( Th, wait = true, ps = "square_split.ps" ); 41 : // 42 : // Here are some things you can query about a mesh. 43 : // 44 : cout << "\n"; 45 : cout << " Some mesh data:\n"; 46 : cout << "\n"; 47 : cout << " Th.area = " << Th.area << "\n";; 48 : cout << " Th.nt = " << Th.nt << "\n"; 49 : cout << " Th.nv = " << Th.nv << "\n"; 50 : // 51 : // Terminate. 52 : // 53 : cout << "\n"; 54 : cout << "square_split():\n"; 55 : cout << " Normal end of execution.\n"; 56 : 57 : exit ( 0 ); 58 : sizestack + 1024 =1264 ( 240 ) square_split(): FreeFem++ version. Read a mesh created by mesh_write(). -- mesh: Nb of Triangles = 22, Nb of Vertices 18 Some mesh data: Th.area = 4 Th.nt = 22 Th.nv = 18 square_split(): Normal end of execution. current line = 57 exit(0) err code 0 , mpirank 0 CodeAlloc : nb ptr 3845, size :516312 mpirank: 0 Ok: Normal End