Next: Programming References
Up: Examples
Previous: Solution of the Navier-Stokes
Evaluation of Integral Expressions using Orthogonal Daubechies Wavelets
The last example shows how to evaluate integral expressions
with smooth kernel in an efficient way.
Numerical analysis [7] shows that regular sparse grids lead to optimal
trial spaces for the approximations of as well as if a high accuracy of is the
primal goal.
Currently, the member function for the involved matrix-vector multiply is implemented for
LevelAdaptiveData and orthogonal (Daubechies-) wavelets, only. The restriction to orthogonal
wavelets comes from mathematical reasons: and must be represented by biorthogonal,
-integrable pairs of bases. Therefore, the Interpolets are ruled out. In principle, Lifting-Interpolets
would be an alternative. But then we would have to provide full support (filter masks, quadrature formulae, ...)
for the dual wavelets of the Lifting-Interpolets as well.
On the other hand, since the Daubechies wavelets are not fully supported by e.g. AdaptiveData, it didn't made
much sense to implement the matrix-vector multiply there; even though this would be relatively easy.
The code for the present example was used to assess the theoretically predicted accuracy of our
optimized scheme. The integral expression is evaluated on a sequence of finer and finer regular
sparse grids, and compared to the true result. As expected, the error decays with a rate of which
is optimal for the employed Daubechies wavelets of order 3.
The source code is
SparseIntegralError.cc.
Next: Programming References
Up: Examples
Previous: Solution of the Navier-Stokes
koster
2003-07-29
|