bugfix: selected wrong data

This commit is contained in:
Martin Diehl 2020-05-16 17:06:55 +02:00
parent ae20ab8d42
commit 044f069437
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ def node_2_cell(node_data):
+ _np.roll(node_data,1,(0,)) + _np.roll(node_data,1,(1,)) + _np.roll(node_data,1,(2,))
+ _np.roll(node_data,1,(0,1)) + _np.roll(node_data,1,(1,2)) + _np.roll(node_data,1,(2,0)))*0.125
return c[:-1,:-1,:-1]
return c[1:,1:,1:]
def node_coord0_gridSizeOrigin(coord0,ordered=True):