mtuq.grid.UnstructuredGrid.get

UnstructuredGrid.get(i, **kwargs)[source]

Returns i-th grid point

callback functions

If a callback function was given when creating a grid, then get returns the result of applying the callback to the i-th grid point. This behavior can be overridden by supplying a callback function as a keyword argument to get itself. If callback is None, then no function is applied.