add profile support

This commit is contained in:
2021-07-28 17:41:18 +08:00
parent 755282373a
commit d5231db068
6 changed files with 162 additions and 19671 deletions

16
job.sh
View File

@@ -1,10 +1,15 @@
#!/bin/bash
# tet-file needs both .node and .ele files generated by Tetgen. No file extension is needed
# mag-file: magnetization vectors. format1: <filename> format2: (<magz-x>,<magz-y>,<magz-z>)
# mag-file: line format: <magz-x> <magz-y> <magz-z>
# site-file format: 1. <filename> 2. <xmin>/<xmax>/<ymin>/<ymax>/<z>/<xnum>/<ynum>
# site-file line format: <x> <y> <z>
# mag-file: magnetization vectors.
# mag-file format:
# 1. <filename>. Line format: <magz-x> <magz-y> <magz-z>
# 2: (<magz-x>,<magz-y>,<magz-z>)
# site-file: observation positions.
# site-file format:
# 1. <filename>. Line format: <x> <y> <z>
# 2. <xmin>/<xmax>/<ymin>/<ymax>/<z>/<xnum>/<ynum>
# 3. (<x1>,<y1>,<z1>)/(<x2>,<y2>,<z2>)/<num>
# obs-file needs only the output file's name with no file extension
# available calculating types: potential, gradient and tensor
@@ -19,7 +24,8 @@ echo "======================"
cat <<- EOF > ${logfile}
tet-file = data/prism/prism.1
mag-file = (0,0,200)
site-file = -30/30/-30/30/10/81/81
#site-file = -30/30/-30/30/10/81/81
site-file = (-30,-30,10)/(30,30,10)/51
obs-file = data/prism/prism
cal-type = potential gradient tensor
EOF