iwopy.utils.RegularDiscretizationGrid.is_gridi(inds)[source]

Checks if grid indices are valid

Parameters

inds: int

The grid point indices, shape: (n_dims,)

Returns

bool :

True if on grid