FEM: simplify reading lines from frd file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
parent
f5863b6d9b
commit
9c6ee0ac63
|
@ -49,10 +49,7 @@ def readResult(frd_input):
|
|||
elem = -1
|
||||
elemType = 0
|
||||
|
||||
while True:
|
||||
line = frd_file.readline()
|
||||
if not line:
|
||||
break
|
||||
for line in frd_file:
|
||||
#Check if we found nodes section
|
||||
if line[4:6] == "2C":
|
||||
nodes_found = True
|
||||
|
|
Loading…
Reference in New Issue
Block a user