Skip to content
Snippets Groups Projects
Commit f68381c5 authored by Ludovic Noels's avatar Ludovic Noels
Browse files

archive step

parent 5e85d692
No related branches found
No related tags found
1 merge request!229Master
...@@ -76,13 +76,13 @@ mysolver.solve() ...@@ -76,13 +76,13 @@ mysolver.solve()
# perform some check (pay attention that only rank 0 really perform the check) # perform some check (pay attention that only rank 0 really perform the check)
try: try:
import linecache import linecache
linedisp = linecache.getline('NodalDisplacementPhysical22Num2comp2_part1.csv',23) linedisp = linecache.getline('NodalDisplacementPhysical22Num2comp2_part1.csv',24)
linevelo = linecache.getline('NodalVelocityPhysical22Num2comp0_part1.csv',395) linevelo = linecache.getline('NodalVelocityPhysical22Num2comp0_part1.csv',24)
except: except:
print('Cannot read the results in the files') print('Cannot read the results in the files')
import os import os
os._exit(1) os._exit(1)
else: else:
check = TestCheck() check = TestCheck()
check.equal(3.795185e-01,float(linedisp.split(';')[1])) check.equal(3.967536e-01,float(linedisp.split(';')[1]))
check.equal(1.152648e+00,float(linevelo.split(';')[1])) check.equal(1.152648e+00,float(linevelo.split(';')[1]))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment