next up previous contents index

2.3.6 Stencil diagrams

The density \bgroup\color{DEFcolor}$\rho_i^{n+1}$\egroup at grid point \bgroup\color{DEFcolor}$i$\egroup and time-step \bgroup\color{DEFcolor}$n+1$\egroup depend on values at the old time-step (numerical domain of dependence) \bgroup\color{DEFcolor}$\rho_{i-k}^n, \rho_{i-k+1}^n, \ldots, \rho_{i+l}^n$\egroup. This is sketched in a so-called stencil diagram as in Fig. 5.

Figure 5: Stencil diagram.
$\textstyle \parbox{3.0cm}{\makebox[3.0cm]{}}$\includegraphics[width=8.0cm]{images/pde1d_stencil_mm0pp.ps} $\textstyle \parbox{3.0cm}{\makebox[3.0cm]{}}$

Looking the other way, a stencil diagram tells also which points \bgroup\color{DEFcolor}$\rho_{i-l}^{n+1}, \rho_{i-l+1}^{n+1}, \ldots, \rho_{i+k}^{n+1}$\egroup at the new time-step \bgroup\color{DEFcolor}$n+1$\egroup are influenced by \bgroup\color{DEFcolor}$\rho_i^n$\egroup (range of influence).