Skip to content
Snippets Groups Projects
Commit 8bac75bd authored by Laura Lindner's avatar Laura Lindner
Browse files

Evaluation on cluster

parent 4ef198b9
No related branches found
No related tags found
2 merge requests!181actual status of monodomain,!179added possibility to use different time integration schemes for ion...
Pipeline #124956 passed
......@@ -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 table9():
lL=[0,1,2]
def table8():
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()
table9()
table8()
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