grid_data#

CenterGrid.grid_dataSource#

Array of center grid coordinates of each volume.

The dimension of array is 4 dimension, shaping (L, M, N, 3). The coordinate is \((X, Y, Z)\) [m].

Examples

>>> cgrid = CenterGrid("zone0", index_type="cell")
>>> grid.grid_data.shape
(81, 600, 36, 3)
>>> grid.grid_data
array([[[[ 3.59664909e+00,  7.84665938e-03, -5.75750000e-04],
        [ 3.59653587e+00,  2.35395361e-02, -1.49250000e-03],
        [ 3.59631043e+00,  3.92310971e-02, -2.40650000e-03],
        ...,
        [ 3.07201514e+00,  4.52253492e-01, -6.34334583e-02],
        [ 3.06137608e+00,  4.64343114e-01, -6.15580417e-02],
        [ 3.05057222e+00,  4.76330154e-01, -5.93228750e-02]]]])