adopted to new data layout

This commit is contained in:
Martin Diehl 2020-04-20 21:28:23 +02:00
parent a8b75a23c5
commit 9a54c326e2
1 changed files with 3 additions and 3 deletions

View File

@ -91,7 +91,7 @@ for name in filenames:
table = damask.Table(averagedDown,table.shapes,table.comments)
coords = damask.grid_filters.cell_coord0(packedGrid,size,shift/packedGrid*size+origin)
table.set(options.pos, coords.reshape(-1,3))
table.set(options.pos, coords.reshape(-1,3,order='F'))
outname = os.path.join(os.path.dirname(name),prefix+os.path.basename(name))