/// <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, _wrapModeY)); }
/// <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, _wrapModeZ)); }
/// <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, _wrapModeX)); }