Commit 92a00dfb authored by Célestin Marot's avatar Célestin Marot
Browse files

update README ++

parent 665c9cbf
...@@ -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
......
...@@ -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," "$mesher" "$model" >> qualities.csv printf "%s,%s," "$model" "$mesher" >> qualities.csv
./compute_statistics $i >> qualities.csv ./compute_statistics $i >> qualities.csv
done done
......
...@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment