reflects new output format of DAMASK_spectral to find

*** Loadcase...
lines.
This commit is contained in:
Philip Eisenlohr 2011-09-05 13:39:44 +00:00
parent 48ac3956ce
commit b412239d9f
1 changed files with 2 additions and 2 deletions

View File

@ -79,8 +79,8 @@ for file in files:
False : file['input']}[options.memory]:
items = line.split()
if len(items) > 7 and items[0] == 'Loadcase': # 'magic' line?
if int(items[5]) == step and int(items[2]) == loadcase:
if len(items) > 8 and items[1] == 'Loadcase': # 'magic' line?
if int(items[6]) == step and int(items[3]) == loadcase:
iter += 1 # next iteration found
else:
output += '\t'.join(map(str,[inc,iter])) + '\n'