can now deal with 1x1x1 geoms
This commit is contained in:
parent
29a7f8e939
commit
3bec76e781
|
@ -86,7 +86,7 @@ for name in filenames:
|
||||||
yy = np.tile(np.repeat(y,info['grid'][0] ),info['grid'][2])
|
yy = np.tile(np.repeat(y,info['grid'][0] ),info['grid'][2])
|
||||||
zz = np.repeat(z,info['grid'][0]*info['grid'][1])
|
zz = np.repeat(z,info['grid'][0]*info['grid'][1])
|
||||||
|
|
||||||
table.data = np.squeeze(np.dstack((xx,yy,zz,microstructure)))
|
table.data = np.squeeze(np.dstack((xx,yy,zz,microstructure)),axis=0)
|
||||||
table.data_writeArray()
|
table.data_writeArray()
|
||||||
|
|
||||||
# ------------------------------------------ finalize output ---------------------------------------
|
# ------------------------------------------ finalize output ---------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue