initial upload

This commit is contained in:
2022-02-16 11:57:36 +08:00
parent f11958464f
commit 93a0a173c6
25 changed files with 1683312 additions and 0 deletions

11
fmm_2d_triangle/routine1.sh Executable file
View 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