Skip to content
Snippets Groups Projects
Commit 3c07350c authored by alkaemper's avatar alkaemper
Browse files

adjust datascript to also copy into paper folder

parent 01e9c023
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
BUILDDIR=${HOME}/software/dune/dune-alugrid/build-optim/examples/quality
BUILDDIR=${HOME}/software/dune/dune-alugrid/build-optim/examples/quality/
PAPERDIR=${HOME}/NMH/git/WeakCompCond/plotdata/
cd ${BUILDDIR}
for MESH in 00 0 1 2 3 4 5 6 ; do
mkdir ${PAPERDIR}/tet.${MESH}.msh
for ANNOUNCED in 0 1 ; do
for VARIANT in 1 2 ; do
cp ./meshquality/tet.${MESH}.msh/${VARIANT}-0-${ANNOUNCED}-meshquality.gnu ./meshquality/tet.${MESH}.msh/threshold-${VARIANT}-${ANNOUNCED}.plot
......@@ -15,6 +16,9 @@ for MESH in 00 0 1 2 3 4 5 6 ; do
grep --after-context=1 "#V0" ./meshquality/tet.${MESH}.msh/quality-${VARIANT}-${THRESHOLD}-${ANNOUNCED}.out | tail -n 1 >> ./meshquality/tet.${MESH}.msh/V0V1-${VARIANT}-${ANNOUNCED}.plot
grep --after-context=1 "MacroFaces" ./meshquality/tet.${MESH}.msh/quality-${VARIANT}-${THRESHOLD}-${ANNOUNCED}.out | tail -n 1 >> ./meshquality/tet.${MESH}.msh/NonCompat-${VARIANT}-${ANNOUNCED}.plot
done
cp ./meshquality/tet.${MESH}.msh/V0V1-${VARIANT}-${ANNOUNCED}.plot ${PAPERDIR}/tet.${MESH}.msh/
cp ./meshquality/tet.${MESH}.msh/threshold-${VARIANT}-${ANNOUNCED}.plot ${PAPERDIR}/tet.${MESH}.msh/
cp ./meshquality/tet.${MESH}.msh/NonCompat-${VARIANT}-${ANNOUNCED}.plot ${PAPERDIR}/tet.${MESH}.msh/
done
done
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment