initial upload
This commit is contained in:
11
fmm_2d_triangle/routine1.sh
Executable file
11
fmm_2d_triangle/routine1.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# compile
|
||||
# g++-9 fmm_2d_triangle.cpp -o fmm_2d_triangle -I/usr/local/include -L/usr/local/lib -lgctl
|
||||
|
||||
# get triangular mesh with the minimal internal angle set to 30 degrees and the maximal area equals 50
|
||||
#triangle -pq30a50 simple_mesh.poly
|
||||
# convert to Gmsh (.msh) file and display
|
||||
#./fmm_2d_triangle convert simple_mesh.1 && open -a Gmsh simple_mesh.1.msh
|
||||
# calculate fmm time
|
||||
./fmm_2d_triangle calculate cube_mesh.1 50/50/30/1.0 && open -a Gmsh cube_mesh.1_linear.msh
|
||||
Reference in New Issue
Block a user