Suppose we place a grid in xt-plane with points $(x_j,t_n)$ and mesh width $h= \Delta x$ and time step $k =\Delta t$ and $x_j=jh$ and $t_n = nk$ and call $U_j^n$ to be the approximation to some $u(x_j,t_n)$ at the discrete points. Also, notice that
$$ x_{j+1/2} = x_j + h/2 = (j+1/2)h $$
Im confused in this notion:
define ${\bf piecewise \; constant}$ functon $U_k(x,t)$ for all $x,t$ from the discrete values $U_j^n$. Assign this function the value $U_j^n$ in the $(j,n)$ grid cell:
$$ U_k(x,t) = U_j^n \; \; \; \; \text{for all } \; \; (x,t) \in [x_{j-1/2},x_{j+1/2}) \times [t_n, t_{n+1}) $$
what does this function represent? I cant understant really the difference between $U_k$ and $U_j^n$
