fmm-examples/fmm_2d_triangle/get_mesh.sh
2022-02-16 11:57:36 +08:00

11 lines
480 B
Bash
Executable File

#!/bin/bash
# get triangular mesh with the minimal internal angle set to 30 degrees and the maximal area equals 50
#triangle -pq30a50 cube_mesh.poly
triangle -pq30a20 cube_mesh.poly
# display the mesh using showme (the native triangle software visualization tool)
#triangle-showme -b cube_mesh.1
# convert to Gmsh (.msh) file and display
#./fmm_2d_triangle convert cube_mesh.1 && open -a Gmsh cube_mesh.1.msh
./fmm_2d_triangle convert cube_mesh.1 && open -a Gmsh cube_mesh.1.msh