wrong coordinates for non-cubical grids

This commit is contained in:
Martin Diehl 2019-12-24 15:58:37 +01:00
parent 264afe00f9
commit 9e94955626
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ for name in filenames:
geom = damask.Geom.from_file(StringIO(''.join(sys.stdin.read())) if name is None else name)
damask.util.croak(geom)
coord0 = damask.grid_filters.cell_coord0(geom.grid,geom.size,geom.origin).reshape((-1,3),order='F')
coord0 = damask.grid_filters.cell_coord0(geom.grid,geom.size,geom.origin).reshape((-1,3))
comments = geom.comments \
+ [scriptID + ' ' + ' '.join(sys.argv[1:]),