Download User Manual Adaptive Wavelet Collocation Method (AWCM) Code
Transcript
AWCM Solver 1 Code Structure 1.1 Overall Code Organization Adaptive wavelet collocation method (AWCM) solver consists of two parts: 1. elliptic solver and 2. time evolution solver. The elliptic solver can be used either to solve general elliptic problems of the type Lu = f or as a part of initial condiitons, where a linear system of PDEs is solved during each grid iteration instead of prescribing u analytically. The adaptive grid refinement procedure provides a way to obtain the solution (initial conditions) on an optimal (compressed) grid. The pseudocode for the iterative global elliptic solver is shown in Algorithm 1. Note that if this part of the code is used for initial conditions, analytical expression for u is provided instead of solving elliptic problem. The pseudocode for the time evolution problem is shown in Algorithm 2. 1