Example 1: 1D Linear BVP
The exact solution is:
Subdivide the domain into two subdomains, one from and another from . In each of these two subdomains define interpolating functions and At the interface between these two subdomains the following inferface conditions shall be imposed:
Let the interpolating functions be defined as:
Where is the nth cardinal function of the chebyshev polynomials of the first kind with input argument y.
If N=4 then the following approximation is obtained by this scheme:
This was obtained with the following MATLAB code.
Read more about this topic: Domain Decomposition Methods