-- 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 plots some BAMG meshes. 4 : // 5 : // Location: 6 : // 7 : // http://people.sc.fsu.edu/~jburkardt/freefem_src/bamg_test/bamg_test.edp 8 : // 9 : // Licensing: 10 : // 11 : // This code is distributed under the GNU LGPL license. 12 : // 13 : // Modified: 14 : // 15 : // 28 April 2020 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 << "bamg_test:\n"; 29 : cout << " Display BAMG meshes.\n"; 30 : // 31 : // Define Th, the triangulation, and display it. 32 : // 33 : mesh Th1 = readmesh ( "battery_o.msh" ); 34 : plot ( Th1, wait = 0, ps = "battery.eps" ); 35 : 36 : mesh Th2 = readmesh ( "square_split_o.msh" ); 37 : plot ( Th2, wait = 0, ps = "square_split.eps" ); 38 : // 39 : cout << "\n"; 40 : cout << "bamg_test:\n"; 41 : cout << " Normal end of execution.\n"; 42 : 43 : exit ( 0 ); 44 : sizestack + 1024 =1440 ( 416 ) bamg_test: 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 = 43 exit(0) err code 0 , mpirank 0 CodeAlloc : nb ptr 3450, size :468264 mpirank: 0 Ok: Normal End