Bugfix: pythond formatting bugfix
This commit is contained in:
parent
59c57be5e4
commit
bbcef01b58
1 changed files with 2 additions and 0 deletions
|
@ -58,12 +58,14 @@ outForces=open('forces.dat','w')
|
||||||
|
|
||||||
for data in zip(t,fx,fy,fz):
|
for data in zip(t,fx,fy,fz):
|
||||||
outForces.write(' '.join([str(d) for d in data])+'\n')
|
outForces.write(' '.join([str(d) for d in data])+'\n')
|
||||||
|
|
||||||
outForces.close()
|
outForces.close()
|
||||||
|
|
||||||
outMoments=open('moments.dat','w')
|
outMoments=open('moments.dat','w')
|
||||||
|
|
||||||
for data in zip(t,mx,my,mz):
|
for data in zip(t,mx,my,mz):
|
||||||
outMoments.write(' '.join([str(d) for d in data])+'\n')
|
outMoments.write(' '.join([str(d) for d in data])+'\n')
|
||||||
|
|
||||||
outMoments.close()
|
outMoments.close()
|
||||||
|
|
||||||
# plot forces
|
# plot forces
|
||||||
|
|
Reference in a new issue