Numerical schemes may require points outside of computational domain.
This happens at boundary conditions. Suppose we are solving a problem over a space grid indexed by
. Let
be an approximation to
. Hence the edge variables are
and
.
For example, suppose we have a scheme that requires
in
order to
determine
. This can happen when
, i.e. at the edge of
the domain and we will have that
is determined by
as well as by interior grid quantities.
Numerical boundary conditions should be some form of extrapolation that determines the solution on the boundary in terms of the solution in the interior. For example:
some numerical b.c.'s
We will consider boundary conditions further when we discuss Parabolic equations (see 0.5.1).
There are three aspects to numerical boundary conditions
Recall that von Neumann stability only gives stability of IVP, so we need to consider stability of the scheme in the neighborhood of the boundaries: always work out the stability issues on each boundary. First do these separately, and then check that they all work together. When we do parabolic problems we will use elementary matrix methods to infer whether or not a particular choice of b.c. will lead to instabilities when coupled to a particular scheme.
But now we revert to two important aspects of the quality of an approximating scheme, which are most important in hyperbolic problems but that also are considerations in other types of evolutionary problems. These are: Dissipation and Dispersion.