freegs.multigrid.restrict# freegs.multigrid.restrict(orig, out=None, avg=False)[source]# Coarsen the original onto a coarser mesh Inputs# orig[nx,ny] - A 2D numpy array. Each dimension must havea size (2^n + 1) though nx != ny is possible returns: A 2D numpy array of size [(nx-1)/2+1, (ny-1)/2+1] rtype: numpy.ndarray