<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2015.69141</article-id><article-id pub-id-type="publisher-id">AM-58952</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Discontinuous Legendre Wavelet Galerkin Method for One-Dimensional Advection-Diffusion Equation
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>iaoyang</surname><given-names>Zheng</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Zhengyuan</surname><given-names>Wei</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>College of Mathematics and Statistics, Chongqing University of Technology, Chongqing, China</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>zhengxiaoyang@cqut.edu.cn(IZ)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>05</day><month>08</month><year>2015</year></pub-date><volume>06</volume><issue>09</issue><fpage>1581</fpage><lpage>1591</lpage><history><date date-type="received"><day>29</day>	<month>July</month>	<year>2015</year></date><date date-type="rev-recd"><day>accepted</day>	<month>18</month>	<year>August</year>	</date><date date-type="accepted"><day>21</day>	<month>August</month>	<year>2015</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  This paper presents discontinuous Legendre wavelet Galerkin (DLWG) approach for solving one-dimensional advection-diffusion equation (ADE). Variational formulation of this type equation and corresponding numerical fluxes are devised by utilizing the advantages of both the Legendre wavelet bases and discontinuous Galerkin (DG) method. The distinctive features of the proposed method are its simple applicability for a variety of boundary conditions and able to effectively approximate the solution of PDEs with less storage space and execution. The results of a numerical experiment are provided to verify the efficiency of the designed new technique.
 
</p></abstract><kwd-group><kwd>Advection-Diffusion Equation</kwd><kwd> Legendre Wavelet</kwd><kwd> Discontinuous Galerkin Method</kwd><kwd> Discontinuous Legendre Wavelet Galerkin Method</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The advection-diffusion equation arises in many important applications, such as fluid dynamics, heat transfer and mass transfer etc. [<xref ref-type="bibr" rid="scirp.58952-ref1">1</xref>] -[<xref ref-type="bibr" rid="scirp.58952-ref9">9</xref>] . In this paper, we shall consider the one-dimensional convection-diffusion equation, which takes the form</p><disp-formula id="scirp.58952-formula1297"><label>, (1.1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x5.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x6.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x7.png" xlink:type="simple"/></inline-formula> are the speed of advection and diffusion coefficients respectively, and the function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x8.png" xlink:type="simple"/></inline-formula> is unknown. The initial and boundary conditions are</p><disp-formula id="scirp.58952-formula1298"><label>, (1.2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x9.png"  xlink:type="simple"/></disp-formula><p>and the boundary conditions satisfy</p><disp-formula id="scirp.58952-formula1299"><label>, (1.3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x10.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x11.png" xlink:type="simple"/></inline-formula>, g and h are known functions.</p><p>There has been little progress in obtaining analytical solution to the advection-diffusion equation when initial and boundary conditions are complicated, even with constant coefficients a and ν [<xref ref-type="bibr" rid="scirp.58952-ref7">7</xref>] . This is the reason why numerical solution of Equation (1.1) is very important. It is pointed out that a lot of numerical techniques for Equation (1.1) are by now well developed such as finite differences, finite elements, spectral procedures, Wavelet-Galerkin (WG) methods, DG methods and Graphical methods etc. [<xref ref-type="bibr" rid="scirp.58952-ref9">9</xref>] - [<xref ref-type="bibr" rid="scirp.58952-ref25">25</xref>] . Among these approaches, we need to emphasize on Wavelet Galerkin method, especially, Legendre Wavelet Galerkin technique and DG approach for solving partial differential equations (PDEs) because these methods are applied to constructing the DLWG approach proposed in this article.</p><p>Firstly, the DG method has emerged as an attractive tool for simulating the convection-diffusion problem [<xref ref-type="bibr" rid="scirp.58952-ref9">9</xref>] -[<xref ref-type="bibr" rid="scirp.58952-ref14">14</xref>] . The main advantage of the DG method lies in its accuracy and flexibility thanks to its high degree of locality. Secondly, the reason for such fast development of the WG approach may be the fact that many nonlinear PDEs have solutions containing local phenomena and interactions among several scales, which can be well-represented in wavelet bases owing to their nice properties, such as compact support and vanishing moment [<xref ref-type="bibr" rid="scirp.58952-ref15">15</xref>] -[<xref ref-type="bibr" rid="scirp.58952-ref22">22</xref>] . However, their main limitations are the difficulties to adapt them to non-periodic geometries and to append specific boundary conditions. Thirdly, what most interests us is that the Legendre wavelet approach is widely implemented to solve PDEs because of its rich properties, for example, expressions in closed form, orthogonality, compact support and vanishing moments [<xref ref-type="bibr" rid="scirp.58952-ref14">14</xref>] -[<xref ref-type="bibr" rid="scirp.58952-ref25">25</xref>] .</p><p>In this paper, the DLWG technique is constructed by borrowing the idea of the DG method. The DLWG approach is based on the variational formulation for the solution of Equation (1.1) and takes advantage of an elementwise discontinuous Legendre wavelet approximation, where numerical information only communicates locally via numerical fluxes, to cope with complicated geometries and to represent the dynamics and structure of highly complex solutions. Especially, compared with the LWG method, the discontinuity of Legendre wavelet functions at interfaces of element to element and the boundary conditions are easy to be solved by using the numerical fluxes. Furthermore, the rich properties of Legendre wavelet bases and the use of the discontinuous elements can produce block-diagonal, sparse and lower dimensional mass matrices, which can be easily inverted by hand and stored efficiently in computer-memory compared with the WG method. Of course, the stability and approximate error of the DLWG approach are also addressed in this article. Finally, the DLWG approach utilizes the discontinuous feature at nodes of the Legendre wavelet bases combined with discontinuous finite elements to discretize the space variable and the spacial derivatives to produce a system of first-order ODEs in time for Equation (1.1). We solve this system by using the TVD Runge-Kutta method [<xref ref-type="bibr" rid="scirp.58952-ref11">11</xref>] , and obtain good numerical results, illustrating that this scheme is very simple and computationally efficient.</p><p>This paper is organized as follows: in Section 2, descriptions of the Legendre wavelet and its rich properties are given. Section 3 obtains the variational form of Equation (1.1) by the DLWG method. Section 4 derives the computations of the derivative operator and the numerical fluxes. Through these calculations, Equation (1.1) is transformed into an ODE system with time. Section 5 addresses the stability analysis of the DLWG approach. In Section 6, the results of a numerical experiment are presented to demonstrate the efficiency of the DLWG method. Conclusions of the proposed method and some suggestions for future research are given at the end of Section 7.</p></sec><sec id="s2"><title>2. Legendre Wavelet</title><p>In this section, we briefly review the Legendre wavelet bases, and introduce our notations and some auxiliary results that will be used later [<xref ref-type="bibr" rid="scirp.58952-ref22">22</xref>] -[<xref ref-type="bibr" rid="scirp.58952-ref24">24</xref>] . Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x12.png" xlink:type="simple"/></inline-formula> denote the Legendre polynomial of degree k, which is inductively defined as follows:</p><disp-formula id="scirp.58952-formula1300"><label>(2.1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x13.png"  xlink:type="simple"/></disp-formula><p>Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x14.png" xlink:type="simple"/></inline-formula> denote the Legendre scale function defined as</p><disp-formula id="scirp.58952-formula1301"><label>(2.2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x15.png"  xlink:type="simple"/></disp-formula><p>For<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x16.png" xlink:type="simple"/></inline-formula>, and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x17.png" xlink:type="simple"/></inline-formula>, define the interval<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x18.png" xlink:type="simple"/></inline-formula>. For<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x19.png" xlink:type="simple"/></inline-formula>, define <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x20.png" xlink:type="simple"/></inline-formula> as a subspace of piecewise polynomial functions, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x21.png" xlink:type="simple"/></inline-formula>{<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x22.png" xlink:type="simple"/></inline-formula> is a polynomial of degree strictly less than p; and f vanishes elsewhere}.</p><p>The whole set <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x23.png" xlink:type="simple"/></inline-formula> forms an orthonormal basis for<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x24.png" xlink:type="simple"/></inline-formula>. Generally, the subspace <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x25.png" xlink:type="simple"/></inline-formula> is spanned by <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x26.png" xlink:type="simple"/></inline-formula> functions which are obtained from <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x27.png" xlink:type="simple"/></inline-formula> by dilations and translations, i.e.,</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x28.png" xlink:type="simple"/></inline-formula>spa</p><p>which forms an orthonormal basis and</p><disp-formula id="scirp.58952-formula1302"><label>. (2.3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x30.png"  xlink:type="simple"/></disp-formula><p>In order to intuitively understand the Legendre scale functions, we let the scale level <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x31.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x32.png" xlink:type="simple"/></inline-formula>, respectively. <xref ref-type="fig" rid="fig1">Figure 1</xref> plots the scale functions.</p><p>The approximation of a function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x33.png" xlink:type="simple"/></inline-formula> in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x34.png" xlink:type="simple"/></inline-formula> is represented by only scale functions as follows</p><disp-formula id="scirp.58952-formula1303"><label>, (2.4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x35.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x36.png" xlink:type="simple"/></inline-formula> is the finest scale projection and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x37.png" xlink:type="simple"/></inline-formula> are scale coefficients. Furthermore, the approximate estimation satisfies</p><disp-formula id="scirp.58952-formula1304"><label>, (2.5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x38.png"  xlink:type="simple"/></disp-formula><p>which demonstrates the approximation error exponentially convergences with the level n of resolution and the order p of the Legendre wavelet bases [<xref ref-type="bibr" rid="scirp.58952-ref22">22</xref>] . The above nice properties demonstrate that the Legendre wavelet bases can be very efficiently applied to the numerical solution of Equation (1).</p></sec><sec id="s3"><title>3. Discontinuous Legendre Wavelet Galerkin Variational Form</title><p>In this section, we derive the weak formulation of Equation (1.1) by the DLWG technique in detail. The computational domain <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x39.png" xlink:type="simple"/></inline-formula> is firstly divided into <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x40.png" xlink:type="simple"/></inline-formula> elements, i.e., subintervals <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x41.png" xlink:type="simple"/></inline-formula> as described in Section 2,</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Legendre scale functions with <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x43.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x44.png" xlink:type="simple"/></inline-formula></title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/8-7402844x42.png"/></fig><p>so the size of each element is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x45.png" xlink:type="simple"/></inline-formula>. Secondly, the spaces of the approximation solutions and the test functions are defined as the Legendre wavelet functions spaces <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x46.png" xlink:type="simple"/></inline-formula> introduced in Section 2. Thirdly, for a specific<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x47.png" xlink:type="simple"/></inline-formula>, the numerical solution for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x48.png" xlink:type="simple"/></inline-formula> in space <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x49.png" xlink:type="simple"/></inline-formula> can be approximated by</p><disp-formula id="scirp.58952-formula1305"><label>, (3.1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x50.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x51.png" xlink:type="simple"/></inline-formula> is unknown time-dependent quantity to be determined from the initial conditions and the weak solution form of Equation (1.1), and</p><disp-formula id="scirp.58952-formula1306"><graphic  xlink:href="http://html.scirp.org/file/8-7402844x52.png"  xlink:type="simple"/></disp-formula><p>is the vector of the Legendre wavelet bases at the finest decomposition level n.</p><p>Now we utilize <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x53.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x54.png" xlink:type="simple"/></inline-formula> to denote the values of u at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x55.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x56.png" xlink:type="simple"/></inline-formula>from right and left, respectively,</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x57.png" xlink:type="simple"/></inline-formula>.</p><p>We also let the usual notations <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x58.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x59.png" xlink:type="simple"/></inline-formula> represent the mean and the jump of function u at each element <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x60.png" xlink:type="simple"/></inline-formula> boundary point, respectively. Then the semi-discrete i.e., space discretization, the DLWG approach is applied to Equation (1.1) and the corresponding initial and the boundary conditions,</p><disp-formula id="scirp.58952-formula1307"><label>(3.2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x61.png"  xlink:type="simple"/></disp-formula><p>In order to determine the approximate solution<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x62.png" xlink:type="simple"/></inline-formula>, we implement a weak formulation to multiply Equation (1.1) and (3.2) by all test functions, that is to say, Legendre wavelet functions for any <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x63.png" xlink:type="simple"/></inline-formula> and integrate over each element<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x64.png" xlink:type="simple"/></inline-formula>, and then obtain the following</p><disp-formula id="scirp.58952-formula1308"><label>, (3.3a)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x65.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.58952-formula1309"><label>, (3.3b)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x66.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x67.png" xlink:type="simple"/></inline-formula>. After a simple formal integration by parts over Equation (3.3), we have</p><disp-formula id="scirp.58952-formula1310"><label>(3.4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x68.png"  xlink:type="simple"/></disp-formula><p>for each element<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x69.png" xlink:type="simple"/></inline-formula>. The functions <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x70.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x71.png" xlink:type="simple"/></inline-formula> in Equation (3.4) are convection and diffusion numerical fluxes, respectively, which are single-valued functions defined at the element interfaces and in general depend on the values of numerical solution <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x72.png" xlink:type="simple"/></inline-formula> or its derivatives from both sides of the interfaces. Since the function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x73.png" xlink:type="simple"/></inline-formula> is discontinuous at the points<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x74.png" xlink:type="simple"/></inline-formula>, we must also replace the nonlinear convection and diffusion fluxes by the numerical fluxes <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x75.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x76.png" xlink:type="simple"/></inline-formula>, which appear from integration by parts. A suitable choice for these numerical fluxes is the key ingredient for the stability of the DLWG scheme.</p><p>There are two types of numerical fluxes: one is the convection numerical flux<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x77.png" xlink:type="simple"/></inline-formula>; the other is the diffusion numerical flux<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x78.png" xlink:type="simple"/></inline-formula>. In this work, the convection flux <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x79.png" xlink:type="simple"/></inline-formula> is chosen to be the local Lax-Friedrichs flux [<xref ref-type="bibr" rid="scirp.58952-ref11">11</xref>]</p><disp-formula id="scirp.58952-formula1311"><label>. (3.5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x80.png"  xlink:type="simple"/></disp-formula><p>In addition, the diffusion flux <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x81.png" xlink:type="simple"/></inline-formula> is chosen as [<xref ref-type="bibr" rid="scirp.58952-ref11">11</xref>]</p><disp-formula id="scirp.58952-formula1312"><label>. (3.6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x82.png"  xlink:type="simple"/></disp-formula><p>We note that the choice of numerical fluxes follows the same principle as those for the LDG method. However, numerical experience suggests that as the degree k of the approximate solution increases, the choice of the numerical fluxes does not have significant impact on the quality of the approximations [<xref ref-type="bibr" rid="scirp.58952-ref11">11</xref>] .</p></sec><sec id="s4"><title>4. Computation of the Variational Form</title><p>In this section, we concretely evaluate each term of Equation (3.4) obtained in Section 3 by taking advantage of the characteristics of the Legendre wavelet bases.</p><sec id="s4_1"><title>4.1. Calculating the Matrix of Derivatives</title><p>Since the Legendre basis functions are discontinuous at nodes <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x83.png" xlink:type="simple"/></inline-formula> when the order of the bases is odd, representations of derivative operators do not exist in the usual sense. The proposed approach by Beylkin et al. [<xref ref-type="bibr" rid="scirp.58952-ref22">22</xref>] is based on defining weak representations of the derivative operator. The transition matrices have large dimensions<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x84.png" xlink:type="simple"/></inline-formula>, although they have block diagonal structures. In this subsection, we can adopt another calculation technique of the differential operator, i.e., computing on each element <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x85.png" xlink:type="simple"/></inline-formula> other than whole interval<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x86.png" xlink:type="simple"/></inline-formula>. This approach consists of the DG method for solving the PDEs and avoids the discontinuity of the Legendre wavelet bases at interfaces. Furthermore, the interactions of the adjacent elements are jointed by using the convection and diffusion fluxes. As we shall show below, this representation of the derivative on each element is an important advantage of the lower dimension transition matrices<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x87.png" xlink:type="simple"/></inline-formula>.</p><p>We now let D denote the derivative operator and consider <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x88.png" xlink:type="simple"/></inline-formula> (the projection <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x89.png" xlink:type="simple"/></inline-formula> of D on<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x90.png" xlink:type="simple"/></inline-formula>) for some fixed resolution level n. Then let us consider solution u and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x91.png" xlink:type="simple"/></inline-formula> with expansions by the Legendre scale functions,</p><disp-formula id="scirp.58952-formula1313"><label>, (4.1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x92.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.58952-formula1314"><label>. (4.2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x93.png"  xlink:type="simple"/></disp-formula><p>Our goal is to find the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x94.png" xlink:type="simple"/></inline-formula> transition matrices <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x94.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x95.png" xlink:type="simple"/></inline-formula> for<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x94.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x95.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x96.png" xlink:type="simple"/></inline-formula>, which satisfy</p><disp-formula id="scirp.58952-formula1315"><label>. (4.3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x97.png"  xlink:type="simple"/></disp-formula><p>Then the coefficient <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x98.png" xlink:type="simple"/></inline-formula> would necessarily be given by</p><disp-formula id="scirp.58952-formula1316"><label>, (4.4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x99.png"  xlink:type="simple"/></disp-formula><p>where</p><disp-formula id="scirp.58952-formula1317"><graphic  xlink:href="http://html.scirp.org/file/8-7402844x100.png"  xlink:type="simple"/></disp-formula><p>is the representation of D on the coarsest scale<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x101.png" xlink:type="simple"/></inline-formula>. Also, because we compute the transition matrices on each element<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x101.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x102.png" xlink:type="simple"/></inline-formula>, only the same element is involved, that is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x101.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x102.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x103.png" xlink:type="simple"/></inline-formula>. Consequently, the matrix in (4.4) is replaced by</p><disp-formula id="scirp.58952-formula1318"><label>, (4.5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x104.png"  xlink:type="simple"/></disp-formula><p>which again is a formal expression at this point, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x105.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x105.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x106.png" xlink:type="simple"/></inline-formula> is a <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x105.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x107.png" xlink:type="simple"/></inline-formula> matrix. Additionally, the representation of transition matrix on the decomposition level n can be found on each element <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x105.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x108.png" xlink:type="simple"/></inline-formula> by rescaling</p><disp-formula id="scirp.58952-formula1319"><label>. (4.6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x109.png"  xlink:type="simple"/></disp-formula><p>We now return to how to provide explicit calculation for each element of the matrix in (4.4) for the Legendre scale bases. Using a relation for the Legendre polynomials</p><disp-formula id="scirp.58952-formula1320"><label>, (4.7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x110.png"  xlink:type="simple"/></disp-formula><p>we obtain for the first derivative</p><disp-formula id="scirp.58952-formula1321"><label>(4.8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x111.png"  xlink:type="simple"/></disp-formula><p>Substituting (4.8) into (4.4), we find that the (i + 1, j + 1)-th element of the matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x112.png" xlink:type="simple"/></inline-formula> satisfies</p><disp-formula id="scirp.58952-formula1322"><label>, (4.9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x113.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x114.png" xlink:type="simple"/></inline-formula> and</p><disp-formula id="scirp.58952-formula1323"><label>(4.10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x115.png"  xlink:type="simple"/></disp-formula><p>For example, let p = 3, we can obtain</p><disp-formula id="scirp.58952-formula1324"><label>. (4.11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x116.png"  xlink:type="simple"/></disp-formula><p>The transition matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x117.png" xlink:type="simple"/></inline-formula> derived above is applied to numerical solution of Equation (1.1). They can also be used to solve problems such as calculus of variations, differential equations, optimal control and integral equations.</p></sec><sec id="s4_2"><title>4.2. Transformation PDE into ODE and Time Discretization</title><p>In this subsection, we use the matrix of differential operator and the fluxes proposed in above subsections to transform Equation (1.1) into a system of ODEs in time.</p><p>For any test function<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x118.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x118.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x119.png" xlink:type="simple"/></inline-formula>, we firstly substitute (3.1) into the first term in (3.4) and then have</p><disp-formula id="scirp.58952-formula1325"><label>. (4.12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x120.png"  xlink:type="simple"/></disp-formula><p>Secondly, taking advantage of the result of (4.6), we obtain the concrete calculation of the second term in (3.4) satisfying</p><disp-formula id="scirp.58952-formula1326"><label>(4.13)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x121.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x122.png" xlink:type="simple"/></inline-formula> are the presentation coefficients of the numerical solution on a certain subinterval<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x122.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x123.png" xlink:type="simple"/></inline-formula>, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x122.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x123.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x124.png" xlink:type="simple"/></inline-formula> denotes the (k + 1)-th column of the derivative transition matrix<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x122.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x123.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x124.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x125.png" xlink:type="simple"/></inline-formula>.</p><p>Up to present, we need to compute the convection and diffusion fluxes, i.e., the third and fourth terms in (3.4). According to the definitions of the fluxes (3.5) and (3.6), we must first evaluate the approximate values of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x126.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x126.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x127.png" xlink:type="simple"/></inline-formula> with needed accuracy at notes<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x126.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x127.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x128.png" xlink:type="simple"/></inline-formula>. We use the following properties of the Legendre polynomials</p><disp-formula id="scirp.58952-formula1327"><label>(4.14)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x129.png"  xlink:type="simple"/></disp-formula><p>and obtain the corresponding results of the Legendre basis functions such that</p><disp-formula id="scirp.58952-formula1328"><label>. (4.15)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x130.png"  xlink:type="simple"/></disp-formula><p>Thus, for<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x131.png" xlink:type="simple"/></inline-formula>, we have</p><disp-formula id="scirp.58952-formula1329"><label>(4.16)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x132.png"  xlink:type="simple"/></disp-formula><p>where we let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x133.png" xlink:type="simple"/></inline-formula>. Similarly, we obtain</p><disp-formula id="scirp.58952-formula1330"><label>. (4.17)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x134.png"  xlink:type="simple"/></disp-formula><p>Additionally, for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x135.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x135.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x136.png" xlink:type="simple"/></inline-formula>, the boundary conditions (1.3) are subsituted into these computations.</p><p>Using (4.16) and (4.17), we have</p><disp-formula id="scirp.58952-formula1331"><label>(4.18)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x137.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.58952-formula1332"><label>(4.19)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x138.png"  xlink:type="simple"/></disp-formula><p>Now, using (3.5) and (3.6), we can obtain the computations of the fluxes satisfying</p><disp-formula id="scirp.58952-formula1333"><label>(4.20)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x139.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.58952-formula1334"><label>(4.21)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x140.png"  xlink:type="simple"/></disp-formula><p>With (4.20) and (4.21), we obtain</p><disp-formula id="scirp.58952-formula1335"><label>. (4.22)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x141.png"  xlink:type="simple"/></disp-formula><p>Finally, we use (4.12), (4.13) and (4.22) to obtain the ODE systems from the DLWG space discretization. For each k and l, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x142.png" xlink:type="simple"/></inline-formula>, we have</p><disp-formula id="scirp.58952-formula1336"><label>. (4.23)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x143.png"  xlink:type="simple"/></disp-formula><p>In addition, the initial condition (1.2) is represented as</p><disp-formula id="scirp.58952-formula1337"><label>, (4.24)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x144.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x145.png" xlink:type="simple"/></inline-formula> are the coefficients of the initial numerical solution. When l = 0 and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x146.png" xlink:type="simple"/></inline-formula>, each term in (4.23) can be computed by using the boundary conditions (1.3). We now rewrite the p ODE systems (4.23) to a short-handed ODE system of the form</p><disp-formula id="scirp.58952-formula1338"><label>. (4.25)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x147.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x148.png" xlink:type="simple"/></inline-formula> is the vector of the coefficients of the numerical solution <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x149.png" xlink:type="simple"/></inline-formula> on the subinterval <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x150.png" xlink:type="simple"/></inline-formula> of Equation (1.1) by using the DLWG method proposed in this paper.</p><p>In the current work, the ODE system (4.25) is discretized over time by using the total variation diminishing (TVD) high-order Runge-Kutta method as follows [<xref ref-type="bibr" rid="scirp.58952-ref11">11</xref>]</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x151.png" xlink:type="simple"/></inline-formula>,</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x152.png" xlink:type="simple"/></inline-formula>,</p><disp-formula id="scirp.58952-formula1339"><label>, (4.26)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x153.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x154.png" xlink:type="simple"/></inline-formula> denotes the time discretization step, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x154.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x155.png" xlink:type="simple"/></inline-formula> is the time step.</p><p>Solving (4.25) by the above time discretization approach, we can obtain the finest resolution scale coefficients <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x156.png" xlink:type="simple"/></inline-formula> on each subinterval <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x156.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x157.png" xlink:type="simple"/></inline-formula> in space<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x156.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x157.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x158.png" xlink:type="simple"/></inline-formula>. Consequently, for all l, the numerical approximate solution to Equation (1.1) is obtained on the n resolution. In comparison with the WG method, we do have more equations to solve. However, the reason why our technique is valid is that we do not try to solve a large <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x156.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x157.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x158.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x159.png" xlink:type="simple"/></inline-formula> system but solve effectively <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x156.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x157.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x158.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x159.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x160.png" xlink:type="simple"/></inline-formula> small p systems. This results in a dimensional reduction, which is quite appealing for h-p adaptivity. If the resolution level n is large enough, the lower dimensional matrices would remarkably reduce the storage and time cost complexity needed to solve the full system.</p></sec></sec><sec id="s5"><title>5. Stability Analysis</title><p>In this section, we shall address the stability property of the DLWG scheme we just proposed. For simplicity of discussion, we shall only consider the case of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x161.png" xlink:type="simple"/></inline-formula> being positive from now on, and only consider periodic boundary conditions, which is the type of boundary conditions analyzed in this article. For general boundary conditions, the choice of the numerical fluxes should be adjusted at the boundary. See [<xref ref-type="bibr" rid="scirp.58952-ref11">11</xref>] for details.</p><p>Theorem 1. The numerical scheme (3.4) with the fluxes choices (3.5) and (3.6), respectively, is <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x162.png" xlink:type="simple"/></inline-formula> stable, i.e.</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x163.png" xlink:type="simple"/></inline-formula>.</p><p>Proof. According to the Equation (1.1), we let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x164.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x164.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x165.png" xlink:type="simple"/></inline-formula>. In (3.4), we let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x164.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x165.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x166.png" xlink:type="simple"/></inline-formula> and sum over l to obtain</p><disp-formula id="scirp.58952-formula1340"><label>, (5.1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x167.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x168.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x168.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x169.png" xlink:type="simple"/></inline-formula>is the numerical flux for the function<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x168.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x169.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x170.png" xlink:type="simple"/></inline-formula>. It is now</p><p>easy to show that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x171.png" xlink:type="simple"/></inline-formula> following the proof of the cell entropy inequality in [<xref ref-type="bibr" rid="scirp.58952-ref11">11</xref>] , using the</p><p>fact that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x172.png" xlink:type="simple"/></inline-formula> is a monotone flux. Consequently,</p><disp-formula id="scirp.58952-formula1341"><label>(5.2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x173.png"  xlink:type="simple"/></disp-formula><p>Choosing suitable parameters<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x174.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x174.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x175.png" xlink:type="simple"/></inline-formula>of the flux <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x174.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x175.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x176.png" xlink:type="simple"/></inline-formula> in (3.6), following the same argument as the literature [<xref ref-type="bibr" rid="scirp.58952-ref11">11</xref>] , we have</p><disp-formula id="scirp.58952-formula1342"><label>. (5.3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x177.png"  xlink:type="simple"/></disp-formula><p>Thus, we can obtain in (5.2)</p><disp-formula id="scirp.58952-formula1343"><label>, (5.4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x178.png"  xlink:type="simple"/></disp-formula><p>which finishes the proof.</p></sec><sec id="s6"><title>6. Numerical Experiment</title><p>In this section, we provide numerical experiment for numerically solving Equation (1.1) to illustrate the performance of the DLWG approach.</p><p>The values of various used parameters are<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x179.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x179.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x180.png" xlink:type="simple"/></inline-formula>, respectively. This means that we consider the equation</p><disp-formula id="scirp.58952-formula1344"><label>(6.1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x181.png"  xlink:type="simple"/></disp-formula><p>defined on<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x182.png" xlink:type="simple"/></inline-formula>,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x182.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x183.png" xlink:type="simple"/></inline-formula>. The exact solution is taken by [<xref ref-type="bibr" rid="scirp.58952-ref7">7</xref>] and given as</p><disp-formula id="scirp.58952-formula1345"><label>. (6.2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-7402844x184.png"  xlink:type="simple"/></disp-formula><p>The corresponding initial and boundary conditions are decided by (6.1). Because the exact solution of the Equation (6.2) is known, we can compute the error between numerical solution and exact solution.</p><p>We calculate the solution up to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x185.png" xlink:type="simple"/></inline-formula>. The parameters of the numerical flux <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x185.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x186.png" xlink:type="simple"/></inline-formula> in (3.6) are chosen as<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x185.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x186.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x187.png" xlink:type="simple"/></inline-formula>,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x185.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x186.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x187.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x188.png" xlink:type="simple"/></inline-formula>. We list the computational results in <xref ref-type="table" rid="table1">Table 1</xref> and <xref ref-type="table" rid="table2">Table 2</xref> at time <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x185.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x186.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x187.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x188.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x189.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x185.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x186.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x187.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x188.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x189.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x190.png" xlink:type="simple"/></inline-formula>, respectively.</p><p>In the tables, Column 1 indicates the spatial order k, Column 2 shows the finest scale n used, and Column 3 contains the size of time steps<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x191.png" xlink:type="simple"/></inline-formula>. In Column 4, we evaluate the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x191.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x192.png" xlink:type="simple"/></inline-formula> error of the solution on 100 &#215; 100 points and comparing it with the exact solution in (6.2). Additionally, in order to describe the evolution at desired accuracy, <xref ref-type="fig" rid="fig2">Figure 2</xref> describes the numerical solution of Equation (6.1) at different time and on the decomposition level <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x191.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x192.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x193.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x191.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x192.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x193.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x194.png" xlink:type="simple"/></inline-formula>, respectively.</p><p>As shown in the numerical experiment, the numerical solution from the DLWG method is in good agreement with the exact one and illustrates the accuracy and capacity of the DLWG approach proposed in this article.</p></sec><sec id="s7"><title>7. Conclusion</title><p>In this paper, the numerical method has been used to solve the advection-diffusion equation with specified initial and boundary conditions. The numerical experiment is presented to demonstrate the high order accuracy and validity of this technique. In particular, this method can be generalized to multi-dimensional cases and be applied to other kinds of PDEs and integro-differential equations.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Results with different parameters at time t = 0.5</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >p</th><th align="center" valign="middle" >n</th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x195.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x196.png" xlink:type="simple"/></inline-formula>error</th></tr></thead><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >10<sup>−2</sup></td><td align="center" valign="middle" >3.0194 &#215; 10<sup>−2</sup></td></tr><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >10<sup>−2</sup></td><td align="center" valign="middle" >4.8795 &#215; 10<sup>−3</sup></td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >10<sup>−2</sup></td><td align="center" valign="middle" >7.6437 &#215; 10<sup>−3</sup></td></tr><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >10<sup>−2</sup></td><td align="center" valign="middle" >1.3529 &#215; 10<sup>−5</sup></td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Results with different parameters at time t = 0.9</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >p</th><th align="center" valign="middle" >n</th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x197.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-7402844x198.png" xlink:type="simple"/></inline-formula>error</th></tr></thead><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >10<sup>−2</sup></td><td align="center" valign="middle" >5.0654 &#215; 10<sup>−2</sup></td></tr><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >10<sup>−3</sup></td><td align="center" valign="middle" >4.8252 &#215; 10<sup>−4</sup></td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >10<sup>−2</sup></td><td align="center" valign="middle" >1.2459 &#215; 10<sup>−5</sup></td></tr><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" >3</td><td align="center" valign="middle" >10<sup>−</sup><sup>3</sup></td><td align="center" valign="middle" >2.5194 &#215; 10<sup>−7</sup></td></tr></tbody></table></table-wrap><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> The numerical solution of Equation (6.1)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/8-7402844x199.png"/></fig></sec><sec id="s8"><title>Acknowledgements</title><p>This work is supported by Technological Research Program of Chongqing Municipal Education Commission (Grant No. KJ130818 and KJ130810) and is funded by Fundamental and Advanced Research Project of Chongqing CSTC of China, the project No. are CSTC2013JCYJA00022 and cstc2012jjA00018.</p></sec><sec id="s9"><title>Cite this paper</title><p>XiaoyangZheng,ZhengyuanWei, (2015) Discontinuous Legendre Wavelet Galerkin Method for One-Dimensional Advection-Diffusion Equation. Applied Mathematics,06,1581-1591. doi: 10.4236/am.2015.69141</p></sec></body><back><ref-list><title>References</title><ref id="scirp.58952-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Murray, J.D. (2002) Mathematical Biology I: An Introduction. Vol. 17 of Interdisciplinary Applied Mathematics, 3rd Edition, Springer, New York.</mixed-citation></ref><ref id="scirp.58952-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Wang, X.Y., Zhu, Z.S. and Lu, Y.K. (1990) Solitary Wave Solutions of the Generalised Burgers-Huxley Equation, Journal of Physics A, 23, 271-274. http://dx.doi.org/10.1088/0305-4470/23/3/011</mixed-citation></ref><ref id="scirp.58952-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Isenberg, J. and Gutfinger, C. (1973) Heat Transfer to a Draining Film. International Journal of Heat and Mass Transfer, 16, 505-512. http://dx.doi.org/10.1016/0017-9310(73)90075-6</mixed-citation></ref><ref id="scirp.58952-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Dehghan, M. (2004) Weighted Finite Difference Techniques for One Dimensional Advection-Difffusion Equation. Applied Mathematics and Computation, 147, 307-319. http://dx.doi.org/10.1016/S0096-3003(02)00667-7</mixed-citation></ref><ref id="scirp.58952-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Karahan, H. (2007) Unconditional Stable Explicit Finite Difference Technique for the Advection-Diffusion Equation Using Spreadsheets. Advances in Engineering Software, 38, 80-84. http://dx.doi.org/10.1016/j.advengsoft.2006.08.001</mixed-citation></ref><ref id="scirp.58952-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Liang, D. and Zhao, W. (1997) A High-Order Upwind Method for the Convection-Diffusion Problem. Computer Methods in Applied Mechanics and Engineering, 147, 105-115. http://dx.doi.org/10.1016/S0045-7825(97)00004-2</mixed-citation></ref><ref id="scirp.58952-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Dehghan, M. (2005) On the Numerical Solution of the One Dimensional Convection-Diffusion Equation. Mathematical Problems in Engineering, 1, 61-74. http://dx.doi.org/10.1155/MPE.2005.61</mixed-citation></ref><ref id="scirp.58952-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Golbabai, A. and Javidi, M. (2009) A Spectral Domain Decomposition Approach for the Generalized Burger’s-Fisher Equation. Chaos, Solitons &amp; Fractals, 39, 385-392. http://dx.doi.org/10.1016/j.chaos.2007.04.013</mixed-citation></ref><ref id="scirp.58952-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Mohammadi, A., Manteghian, M. and Mohammadi, A. (2011) Numerical Solution of the One-Dimensional Advection-Diffusion Equation Using Simultaneously Temporal and Spatial Weighted Parameters. Australian Journal of Basic and Applied Sciences, 5, 1536-1543.</mixed-citation></ref><ref id="scirp.58952-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Kumar, A., Jaiswal, D.K. and Kumar, N. (2010) Analytical Solutions to One-Dimensional Advection-Diffusion Equation with Variable Coefficients in Semi-Infinite Media. Journal of Hydrology, 380, 330-337.  
http://dx.doi.org/10.1016/j.jhydrol.2009.11.008</mixed-citation></ref><ref id="scirp.58952-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Liu, H. and Yan, J. (2009) The Direct Discontinuous Galerkin (DDG) Methods for Diffusion Problems. SIAM Journal on Numerical Analysis, 47, 475-694. http://dx.doi.org/10.1137/080720255</mixed-citation></ref><ref id="scirp.58952-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Kumar, A., Jaiswal, D.K. and Kumar, N. (2009) Analytical Solutions of One-Dimensional Advection-Diffusion Equation with Variable Coefficients in a Finite Domain. Journal of Earth System Science, 118, 539-549.  
http://dx.doi.org/10.1007/s12040-009-0049-y</mixed-citation></ref><ref id="scirp.58952-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Liu, H. and Yan, J. (2010) The Direct Discontinuous Galerkin (DDG) Method for Diffusion with Interface Corrections. Communications in Computational Physics, 8, 541-564. http://dx.doi.org/10.4208/cicp.010909.011209a</mixed-citation></ref><ref id="scirp.58952-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, R.-P. and Zhang, L.-W. (2012) Direct Discontinuous Galerkin Method for the Generalized Burgers Fisher Equation. Chinese Physics B, 9, Article ID: 090206. http://dx.doi.org/10.1088/1674-1056/21/9/090206</mixed-citation></ref><ref id="scirp.58952-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Dahmen, W., Kurdila, J. and Oswald, P. (1997) Multiscale Wavelet Methods for Partial Differential Equations. Academic Press, San Diego.</mixed-citation></ref><ref id="scirp.58952-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Razzaghi, M. and Yousefi, S. (2001) The Legendre Wavelets Operational Matrix of Integration. International Journal of Systems Science, 32, 495-502. http://dx.doi.org/10.1080/00207720120227</mixed-citation></ref><ref id="scirp.58952-ref17"><label>17</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Yousefi</surname><given-names> S. </given-names></name>,<etal>et al</etal>. (<year>2010</year>)<article-title>Legendre Multiwavelet Galerkin Method for Solving the Hyperbolic Telegraph Equation</article-title><source> Numerical Methods for Partial Differential Equations</source><volume> 26</volume>,<fpage> 539</fpage>-<lpage>543</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.58952-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Gantumur, T. and Stevenson, R.P. (2006) Computation of Differential Operators in Wavelet Coordinates. Mathematics of Computation, 75, 697-710. http://dx.doi.org/10.1090/S0025-5718-05-01807-7</mixed-citation></ref><ref id="scirp.58952-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Aziz, I., Siraj-ul-Islam and Sarler, B. (2013) Wavelets Collocation Method for Numerical Solution of Elliptic Problems. Applied Mathematical Modelling, 37, 676-694. http://dx.doi.org/10.1016/j.apm.2012.02.046</mixed-citation></ref><ref id="scirp.58952-ref20"><label>20</label><mixed-citation publication-type="book" xlink:type="simple">Liandrat, J., Perrier, V. and Tchmitchian, Ph. (1992) Numerical Resolution of Nonlinear Partial Differential Equations Using Wavelet Approach. In: Ruskai, M., Beylkin, G., Coifman, R., Daubechies, I., Mallat, S., Meyer, Y. and Raphael, L., Eds., Wavelets and Their Applications, Jones and Bartlett, Boston, 227-238.</mixed-citation></ref><ref id="scirp.58952-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Kumar, R.B.V. and Mehra, M. (2006) A Three-Step Wavelet Galerkin Method for Parabolic and Hyperbolic Partial Differential Equations. International Journal of Computer Mathematics, 83, 143-157.  
http://dx.doi.org/10.1080/00207160500112985</mixed-citation></ref><ref id="scirp.58952-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Alpert, B., Beylkin, G., Gines, D. and Vozovoi, L. (2002) Adaptive Solution Partial Differential Equations in Multiwavelet Bases. Journal of Computational Physics, 182, 149-190. http://dx.doi.org/10.1006/jcph.2002.7160</mixed-citation></ref><ref id="scirp.58952-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Berlkin, G. (1992) On the Representation of Operators in Bases of Compactly Supported Wavelets. SIAM Journal on Numerical Analysis, 6, 1716-1739. http://dx.doi.org/10.1137/0729097</mixed-citation></ref><ref id="scirp.58952-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Zheng, X., Yang, X., Su, H. and Qiu, L. (2011) Discontinuous Legendre Wavelet Element Method for Elliptic Partial Differential Equations. Applied Mathematics and Computation, 218, 3002-3018.  
http://dx.doi.org/10.1016/j.amc.2011.08.045</mixed-citation></ref><ref id="scirp.58952-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Kima, M.-Y. and Wheelerb, M.F. (2014) A Multiscale Discontinuous Galerkin Method for Convection-Diffusion-Reaction Problems. Computers and Mathematics with Applications, 68, 2251-2261.  
http://dx.doi.org/10.1016/j.camwa.2014.08.007</mixed-citation></ref></ref-list></back></article>