initialize lastIncrement to 1
This commit is contained in:
parent
c2f5cebacb
commit
ac5b6233e6
|
@ -72,6 +72,8 @@ for file in files:
|
||||||
# ------------------------------------------ read file ---------------------------------------
|
# ------------------------------------------ read file ---------------------------------------
|
||||||
|
|
||||||
pattern = re.compile('Loadcase\s+(\d+)\s+Increment\s+(\d+)/\d+\s+@\s+Iteration\s+(\d+)/\d+.*')
|
pattern = re.compile('Loadcase\s+(\d+)\s+Increment\s+(\d+)/\d+\s+@\s+Iteration\s+(\d+)/\d+.*')
|
||||||
|
lastLoadcase = 1
|
||||||
|
lastIncrement = 1
|
||||||
lastIteration = 0
|
lastIteration = 0
|
||||||
|
|
||||||
for line in {True : data,
|
for line in {True : data,
|
||||||
|
|
Loading…
Reference in New Issue