/// <summary> /// Applies a wrap function to the given index based on the current wrap mode. /// </summary> /// <param name="j"></param> /// <returns></returns> public int WrapY(int j) { return(GridUtil.Wrap(j, _ny, _wrapY)); }
/// <summary> /// Applies a wrap function to the given index based on the current wrap mode. /// </summary> /// <param name="k"></param> /// <returns></returns> public int WrapZ(int k) { return(GridUtil.Wrap(k, _nz, _wrapZ)); }
/// <summary> /// Applies a wrap function to the given index based on the current wrap mode. /// </summary> /// <param name="i"></param> /// <returns></returns> public int WrapX(int i) { return(GridUtil.Wrap(i, _nx, _wrapX)); }