Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CardMech
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KIT
Mpp
CardMech
Commits
8bac75bd
Commit
8bac75bd
authored
2 years ago
by
Laura Lindner
Browse files
Options
Downloads
Patches
Plain Diff
Evaluation on cluster
parent
4ef198b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!181
actual status of monodomain
,
!179
added possibility to use different time integration schemes for ion...
Pipeline
#124956
passed
2 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/evaluation/FiguresAndTablesForPaper.py
+32
-17
32 additions, 17 deletions
tools/evaluation/FiguresAndTablesForPaper.py
with
32 additions
and
17 deletions
tools/evaluation/FiguresAndTablesForPaper.py
+
32
−
17
View file @
8bac75bd
...
...
@@ -4,8 +4,10 @@ from utility.plotting import Plot
from
utility.latexTables
import
Table
from
utility.latexTables
import
TableWriter
from
utility.documentWriter
import
DW
import
Meshinfos
pathBV
=
'
../../../datafiles/BiVentricle/
'
pathEll
=
'
../../../datafiles/TestsFromHoreka/
'
def
getPointNamebyNumber
(
p
,
inRef
=
False
):
if
inRef
:
if
p
==
1
:
...
...
@@ -42,9 +44,19 @@ def getPointNamebyNumber(p,inRef=False):
elif
p
==
8
:
return
'
\\
LtwoSpace
'
def
table2
():
#histplot benchmark ellipsoid
path
=
pathEll
+
'
ActivationTimeSI/vtu/AT_l0j4.vtu
'
savePath
=
pathEll
+
'
ActivationTimeSI/tex/HistEllipsoidl0.tex
'
comHistplot
(
path
,
savePath
)
def
figure2
():
#plotallPoints, convergence in time and convergence in space
LI
=
pathEll
+
'
LI0001SAT
'
#plotallPoints,
#convergence in time
#convergence in space
i
=
0
def
table4
():
...
...
@@ -63,13 +75,15 @@ def table6():
i
=
0
def
table7
():
# convergence cv in space
i
=
0
#histplot bi-ventricle
path
=
pathBV
+
'
SI0004/vtu/AT_l0j0.vtu
'
savePath
=
pathBV
+
'
SI0004/tex/HistBiVentriclel0.tex
'
Meshinfos
.
comHistplot
(
path
,
savePath
)
def
figure5
():
#work precision diagrams
eP
=
'
../../../datafiles/TestsFromHoreka/
'
sP
=
'
../../datafiles/TestsFromHoreka/tex/
'
eP
=
pathEll
+
''
fLI
=
eP
+
'
LI0001SAT/
'
fSI
=
eP
+
'
SI0001SAT/
'
...
...
@@ -106,30 +120,31 @@ def figure5():
output_file
.
write
(
'
\\
end{figure}
\n
'
)
def
table
9
():
lL
=
[
0
,
1
,
2
]
def
table
8
():
lL
=
[
0
,
1
,
2
,
3
,
4
]
tL
=
[
0
,
1
,
2
,
3
,
4
]
SI
=
'
../../../datafiles/BiVentricle/
SI0004/
'
SI
=
pathBV
+
'
SI0004/
'
sdt
=
0.0004
endTime
=
0.16
listEvaluationPoints
=
[]
l0Path
=
'
../../../datafiles/BiVentricle/
SI0004/vtu/AT_l0j0.vtu
'
l0Path
=
pathBV
+
'
SI0004/vtu/AT_l0j0.vtu
'
#plotTact:
plot
=
Plot
(
lL
,
tL
,
sdt
,
endTime
,
1
,
listEvaluationPoints
)
#
plot.MeanTactSpace(SI,l0Path)
plot
.
MeanTactSpace
(
SI
,
l0Path
)
#tables tact
L
=
2
J
=
3
L
=
4
J
=
4
savePath
=
'
images/
'
tabWriter
=
TableWriter
(
lL
,
tL
,
sdt
,
endTime
,
1
,[
SI
],
listEvaluationPoints
)
tabWriter
.
writeMeanTactTable
(
SI
,
l0Path
,
savePath
,
L
,
J
)
if
__name__
==
"
__main__
"
:
if
__name__
==
"
__main__
"
:
#table2() #x
#figure2()
#table4()
#table5()
#figure3()
#table6()
#table7()
#table7()
#x
#figure5()
table
9
()
table
8
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment