-- FreeFem++ v4.14 (mer. 06 mars 2024 16:59:04 CET - git v4.14-1-g2b2052ae) file : bamg_test.edp Load: lg_fem lg_mesh lg_mesh3 eigenvalue 1 : // bamg_test.edp 2 : // 3 : // Discussion: 4 : // 5 : // This example plots some BAMG meshes. 6 : // 7 : // Licensing: 8 : // 9 : // This code is distributed under the MIT license. 10 : // 11 : // Modified: 12 : // 13 : // 28 April 2020 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 << "bamg_test():\n"; 27 : cout << " FreeFem++ version\n"; 28 : cout << " Display BAMG meshes.\n"; 29 : // 30 : // Define Th, the triangulation, and display it. 31 : // 32 : mesh Th1 = readmesh ( "battery_o.msh" ); 33 : plot ( Th1, wait = false, ps = "battery.eps", cmm = "Battery mesh" ); 34 : 35 : mesh Th2 = readmesh ( "square_split_o.msh" ); 36 : plot ( Th2, wait = false, ps = "square_split.eps", cmm = "Square split mesh" ); 37 : // 38 : // Terminate. 39 : // 40 : cout << "\n"; 41 : cout << "bamg_test():\n"; 42 : cout << " Normal end of execution.\n"; 43 : 44 : exit ( 0 ); 45 : sizestack + 1024 =1440 ( 416 ) bamg_test(): FreeFem++ version Display BAMG meshes. -- mesh: Nb of Triangles = 1799, Nb of Vertices 966 -- mesh: Nb of Triangles = 22, Nb of Vertices 18 bamg_test(): Normal end of execution. current line = 44 exit(0) err code 0 , mpirank 0 CodeAlloc : nb ptr 3823, size :516240 mpirank: 0 Ok: Normal End