Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Célestin Marot
tetmesher_benchmark
Commits
92a00dfb
Commit
92a00dfb
authored
Jul 23, 2020
by
Célestin Marot
Browse files
update README ++
parent
665c9cbf
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
92a00dfb
...
@@ -26,8 +26,10 @@ directory is located:
...
@@ -26,8 +26,10 @@ directory is located:
make -j
make -j
export GMSH=$(PWD)/gmsh
export GMSH=$(PWD)/gmsh
To compile
**HXT's tetrahedral mesh generator**
, create another build
To compile
**HXT's tetrahedral mesh generator**
, (available inside
directory, open a terminal in that directory and again, adapt these command:
Gmsh)[https://gitlab.onelab.info/gmsh/gmsh/-/tree/master/contrib/hxt], create
another build directory, open a terminal in that directory and again, adapt
these command:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-march=native" -DCMAKE_CXX_FLAGS="-march=native" PATH_TO_GMSH/contrib/hxt/tetMesh
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-march=native" -DCMAKE_CXX_FLAGS="-march=native" PATH_TO_GMSH/contrib/hxt/tetMesh
export HXTTETMESH=$(PWD)/tetMesh_CLI
export HXTTETMESH=$(PWD)/tetMesh_CLI
...
...
qualities/README.md
View file @
92a00dfb
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
mesher="${model_mesher##*_}"
mesher="${model_mesher##*_}"
model="${model_mesher%_*}"
model="${model_mesher%_*}"
echo "computing statistics for model \"$model\" meshed by \"$mesher\""
echo "computing statistics for model \"$model\" meshed by \"$mesher\""
printf "%s,%s," "$m
esher" "$model
" >> qualities.csv
printf "%s,%s," "$m
odel" "$mesher
" >> qualities.csv
./compute_statistics $i >> qualities.csv
./compute_statistics $i >> qualities.csv
done
done
...
...
qualities/compute_statistics.c
View file @
92a00dfb
...
@@ -228,12 +228,12 @@ int main(int argc, char const *argv[])
...
@@ -228,12 +228,12 @@ int main(int argc, char const *argv[])
printf
(
"%f,"
,
dihedralAngleHist
[
i
]);
printf
(
"%f,"
,
dihedralAngleHist
[
i
]);
printf
(
"%f,%f,%f
\n
"
,
dihedralAngleTot
/
(
6
.
0
*
numTets
),
dihedralAngleMin
,
dihedralAngleMax
);
printf
(
"%f,%f,%f
\n
"
,
dihedralAngleTot
/
(
6
.
0
*
numTets
),
dihedralAngleMin
,
dihedralAngleMax
);
printf
(
"
\n
%f & %f & %f & %f
\n
"
,
gammaMin
,
sicnMin
,
dihedralAngleMin
,
dihedralAngleMax
);
//
printf("\n%f & %f & %f & %f\n", gammaMin, sicnMin, dihedralAngleMin, dihedralAngleMax);
printf
(
"gamma: %f %f
\n
"
,
gammaMin
,
gammaTot
/
numTets
);
//
printf("gamma: %f %f\n", gammaMin, gammaTot/numTets);
printf
(
"sicn: %f %f
\n
"
,
sicnMin
,
sicnTot
/
numTets
);
//
printf("sicn: %f %f\n", sicnMin, sicnTot/numTets);
printf
(
"dihedralAngle: %f %f %f
\n
"
,
dihedralAngleMin
,
dihedralAngleMax
,
dihedralAngleTot
/
numTets
);
//
printf("dihedralAngle: %f %f %f\n", dihedralAngleMin, dihedralAngleMax, dihedralAngleTot/numTets);
printf
(
"sige: %f %f
\n
"
,
sigeMin
,
sigeTot
/
numTets
);
//
printf("sige: %f %f\n", sigeMin, sigeTot/numTets);
fclose
(
input
);
fclose
(
input
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment