ADI splitting methods for image osmosis models

Size: px
Start display at page:

Download "ADI splitting methods for image osmosis models"

Transcription

1 ADI splitting methods for image osmosis models L. Calatroni, C. Estatico, N. Garibaldi, S. Parisotto 3 CMAP, Ecole Polytechnique 98 Palaiseau Cedex, France Dipartimento di Matematica, Università di Genova, Via Dodecaneso 35, 646, Genova, Italy 3 Cambridge Centre for Analysis, Wilberforce Road, CB3 0WA, University of Cambridge, UK luca.calatroni@polytechnique.edu, estatico@dima.unige.it, garibaldi9nicola@gmail.com, sp75@cam.ac.uk Abstract. We consider Alternating Directional Implicit ADI) splitting schemes to compute efficiently the numerical solution of the PDE osmosis model considered by Weickert et al. in [0] for several imaging applications. The discretised scheme is shown to preserve analogous properties to the continuous model. The dimensional splitting strategy traduces numerically into the solution of simple tridiagonal systems for which matrix factorisation techniques are used to improve upon the performance of classical implicit methods even for large time steps. Applications to shadow removal and inpainting problems are presented.. Introduction Several imaging tasks can be formulated as the problem of finding a reconstructed version of a degraded and possibly under-sampled image. Removing signal oscillations image denoising) and optical aberrations image deblurring) due to acquisition and transmission faults are common problems in applications such as medical imaging, astronomy, microscopy and many more. Further, the image interpolation problem of filling in missing or occluded parts of the image using the information from the surrounding areas is called image inpainting [3, 8]. More sophisticated imaging tasks aim to decompose the acquired image into its component structures, such as cartoon and texture, or into the product of an intrinsic component not subject to lightchanges e.g. illumination) and its counterpart describing illumination changes only, see [4]. The problem of shadow removal belongs to this latter class [5]. For a given image f, it can be formulated as find u s.t. fx, y) = lx, y)ux, y), x, y) Ω, ) where Ω R denotes the image domain, lx, y) the illumination image and u the reflectance image, i.e. the intrinsic image not subject to illumination changes []. Due to the ill-posedness of the problem ), in [] a maximum-likelihood approach is used. In [9, 0], a PDE-based approach computing the solution of ) as the stationary state of a linear parabolic PDE is considered. Due to its similarities with the analogous physical process, such model is called image osmosis. Image osmosis. Given a rectangular image domain Ω R with Lipschitz boundary Ω and a positive initial gray-scale image f : Ω R +, for a given vector field d : Ω R the linear

2 image osmosis model proposed in [9, 0] is a drift-diffusion PDE which computes for every t 0, T ], T > 0 a regularised family of images {ux, t)} t>0 of f by solving: t u = u divdu) on Ω 0, T ] ux, 0) = fx) on Ω u du, n = 0 on Ω 0, T ], where, denotes the Euclidean scalar product and n the outer normal vector on Ω. The extension to RGB images is straightforward by letting the process evolve for each colour channel. In [0, Proposition ] the authors prove that any solution of ) preserves the average gray value and the non-negativity at any time t > 0. Furthermore, by setting d := ln v) for a reference image v > 0, the steady state w of ) turns out to be a minimiser of the energy functional: ˆ u ) Eu) = v dx, 3) v Ω and can be expressed as a rescaled version of v via the formula wx) = µ f µ v vx), where µ f and µ v are the average of f and v over Ω, respectively. In [0] the osmosis model ) is used as a non-symmetric variant of diffusion for several visual computing applications data compression, face cloning and shadow removal). A general fully discrete framework for this problem is studied in [9] where, under some standard conditions on the semi-discretised finite differences operators used, the conservation properties described above are shown to be still valid upon discretisation. We synthesise these results as follows: Theorem. [9] For a given f R N +, consider the semi-discretised linear osmosis problem: u0) = f, u t) = Aut), t > 0, 4) where A R N N is an irreducible non-symmetric) matrix with zero-column sum and nonnegative off-diagonal entries. For k 0, consider the time-discretisation schemes u k+ = P u k : P := I + τa), for τ < max a i,i ) ; Forward Euler) P := I τa), for any τ > 0. Backward Euler) Then, in both cases, P is an irreducible, non-negative matrix with strictly positive diagonal entries and unitary column sum and for ut) the following properties hold true: i) For every t > 0, the evolution preserves positivity and the average gray value of f; ii) The unique steady state is the eigenvector of P associated to eigenvalue. For large τ > 0, the numerical realisation via implicit Euler method requires the inversion of a non-symmetric penta-diagonal matrix, which may be highly costly for large images. Alternatively, problem 4) can be solved using dimensional splitting methods, [6]. ADI splitting methods. Given a domain Ω R s, a dimensional splitting method decomposes the semi-discretised operator A of initial boundary value problem 4) into the sum: A = A 0 + A A s 5) such that the components A j, j =,..., s, encode the linear action of A along the space direction j =,..., s, respectively. The term A 0 may contain additional contributes coming from mixed directions and non-stiff nonlinear terms. Alternating directional implicit ADI) schemes are time-stepping methods that treat the unidirectional components A j, j implicitly )

3 and the A 0 component, if present, explicitly in time. Having in mind a standard finite difference space discretisation, this splitting idea translates into reducing the s-dimensional original problem to s one-dimensional problems. For D applications, we set s =. Let u i,j denote an approximation of u in the grid of size h at point i )h, j )h); the discretisation of ) considered in [9, 0] reads: u i,j = u i+,j u i,j + u i,j h + u i,j+ u i,j + u i,j h h h u i+,j + u i,j d,i+,j d,i,j+ u i,j+ + u i,j ) u i,j + u i,j d,i,j 6) ) u i,j + u i,j d,i,j =: A + A )ut) which can be splitted into the sum of A and A where no mixed and/or nonlinear terms appear A 0 = 0). Following [6], we recall now the two ADI schemes considered in this paper. The Peaceman-Rachford scheme. The first method considered is the second-order accurate Peaceman-Rachford ADI scheme. For every k 0 and time-step τ > 0, compute an approximation u k+ via the updating rule: u k+/ = u k + τ A u k + τ A u k+/, u k+ = u k+/ + τ A u k+ + τ 7) A u k+/. Heuristically, forward and backward Euler are applied alternatively in a symmetrical way, thus resulting in second-order accuracy [6]. The Douglas scheme. A more general ADI decomposition accommodating also the general case A 0 0 in 5) is the Douglas method. For k 0, τ > 0 and θ [0, ], the updating rule reads y 0 = u k + τau k y j = y j + θτa j y j A j u k ), j =, 8) u k+ = y. In words, the numerical approximation in each time step is computed by applying at first a forward Euler predictor and then it is stabilised by intermediate steps where just the unidirectional components A j of the splitting 5) appear, weighted by θ whose size balances the implicit/explicit behaviour of these steps. The time-consistency order of the scheme is equal to two for A 0 = 0 and θ = /, and it is of order one otherwise. For s = both schemes 7) and 8) are unconditionally stable, see [6]. However, for large time steps, the time-accuracy may suffer due to the presence of the explicit steps. Scope of the paper. In this work, we apply schemes 7) and 8) to solve 4) and show that similar conservation properties as in Theorem hold. Compared to standard implicit methods used in [9, 0], such schemes renders a much more efficient and accurate numerical solution.. ADI methods for image osmosis We show that ADI schemes 7) and 8) show similar conservation properties as in Theorem. { }). Proposition. Let f R N + and τ < max max a i,i, max a i,i Then, the Peaceman- Rachford scheme 7) on the splitting 6) preserves the average gray value, the positivity and converges to a unique steady state.

4 Proof. We write the Peaceman-Rachford 7) iteration as u k+ = I τ ) A I + τ ) A I τ ) A I + τ ) A u k, and observe that for i =, the matrices P i := I τ A ) i and P + i := I + τ A i), are non-negative and irreducible with unitary column sum and positive diagonal entries being each A i a one-dimensional implicit/explicit discretised osmosis operator satisfying the assumptions of Theorem. Therefore, at every implicit/explicit half-step and using the restriction on τ, the average gray-value and positivity are conserved. Furthermore, the unique steady state is the eigenvector of the operator P := P P + P P + associated to the eigenvalue to one. The following lemma is useful to prove a similar result for the Douglas scheme 8). Lemma. If C = c i,j ) R N N and D = d i,j ) R N N s.t. N i= c i,j =: c and N i= d i,j =: d for every j =,..., N, then, the matrix B := CD has column sum equal to cd. Proof. Writing each element b i,j in terms of the elements of C and D, we have that for every j: b i,j = i= c i,k d k,j = d N ) k,j c i,k = ) d k,j c = c d k,j = cd. i= k= k= i= k= k= Proposition. Let f R N +, τ > 0 and θ [0, ]. Then, the Douglas scheme 8) applied to the splitted semi-discretised scheme 6) preserves the average gray value. Proof. For every k 0, we write the Douglas iteration 8) as [ u k+ = I θτa ) I θτa ) ) ] I θτa ) + τa θτa ) ) = I + τi θτa ) I θτa ) A u k =: I + τp P A where both P and P are non-negative, irreducible, with unitary column sum and strictly positive diagonal entries by Theorem, while A = A + A is zero-column sum being the standard discretised osmosis operator 6). By Lemma, the operator B := P P A has zero column sum and the operator P := I + τb has unitary column sum. Thus, for every k 0: u k u k N i= u k+ i = N i= j= p i,j u k j = N N ) p i,j u k j = N j= i= u k j. j= Remark. There is no guarantee that the non-diagonal entries of the operator B are nonnegative. { Therefore, it is not possible to apply directly Theorem to conclude that the iterates u k } remain positive and that they converge to a unique steady state. However, our k 0 numerical tests suggest that both properties remain valid. A rigorous proof of these properties is left for future research. 3. Numerical results In the following Algorithm and we present the pseudocode for the Peaceman-Rachford 7) and the Douglas 8) schemes, respectively, when applied to images of size m n pixels, with N := mn. We recall that in [9, 0], the non-splitted Euler Implicit method is solved iteratively by BiCGStab, which is influenced by the tolerance and maximum iterations required.

5 Due to the structure of the ADI matrices A and A, a tridiagonal LU factorisation can be used for a better efficiency after a permutation on matrix A based on [7] to reduce the bandwidth to one: this is convenient for images with large m, where non-splitted methods become prohibitively expensive. In the non-splitted case, one LU factorisation plus T τ system resolutions for the penta-diagonal matrix A, with lower and upper bandwidth equal to m, costs Om 3 n + 4T τ m n) flops overall. In the splitted case, the computational cost is reduced to O6mn ) + T τ 0mn 8)) flops because of the use of tridiagonal -bandwidth matrices. For the same reason, the inverse splitted operators A and A require less storage space than the non-splitted operator A while the inverse of A has significantly more non-zeros entries. Since τ is constant, all the LU factorisations can be computed only once before the main loop. Algorithm : LU Peaceman-Rachford Input : u 0, A = A + A ; Parameters : τ, T ; foreach c in color channel do p c = symrcma c ); E c = I τ A c ) ; E c = I τ A c p c ; p c ) ) ; [L c, U c ] = lu I 0.5 τ A c ); [L c, U c ] = lu I 0.5 τ A c p c ; p c ) ). Algorithm : LU-Douglas Input : u 0, A = A + A ; Parameters : τ, T, θ [0, ]; foreach c in color channel do p c = symrcma c ); E c = τ A c ; E c = τ A c p c ; p c ) T c = τ θ A c ; T c = τ θ A c p c ; p c ) ; [L c, U c ] = lu I τ θ A c ); [L c, U c ] = lu I τ θ A c p c ; p c ) ). for k = 0 to T τ do z = E c u k c ; y p c ) = U c \ L c \ z p c )); z p c ) = E c y p c ); u k+τ c = U c \ L c \ z ); for k = 0 to T τ do y 0 = E c u k c ; y 0 p c ) = E c u k c p c ) ; z = u k c + y 0 + y 0 T c u k c ; y = U c \ L c \ z ); z p c ) = y p c ) T c u k c ; u k+τ c p c ) = U c \ L c \ z p c )); return u T. return u T. As a toy example, we evolved the osmosis model ) starting from an initial constant image, with a known steady state. In Table we compare the non-splitting and splitting solutions at T = 000 for different fixed time-steps τ and θ = {0.5, } where exact-in-time reference solution is computed by Exponential Integrators []. For a comparison with [9], the non-splitted approach is solved by BiCGStab in our case tol=e-5 and maxiter=e6) and also test the direct LU factorisation. The order of the methods for the Energy 3) error E.E.) are plotted in Figure a. For larger time-steps, ADI methods are 0 faster than non-splitting methods. Finally, in Figure b the ADI numerical solution of the shadow-removal problem as in [0] is shown, starting from a shadowed image u and setting d = ln u) = 0 on the shadow boundary. There, in order to correct the diffusion artefacts, an inpainting correction e.g. []) is applied. 4. Conclusions In this paper, we consider the image osmosis model proposed in [9, 0] for several imaging applications. We proposed an ADI splitting approach to decompose the -D finite difference operator into two one-dimensional tridiagonal operators. We proved that the splitting numerical schemes preserve properties holding for the continuous model. Numerically, these methods are efficient and accurate. We tested the proposed methods for a shadow removal problem, with an inpainting post-processing step. Future research directions include a rigorous stability and convergence analysis of the Douglas method 8) and the formulation of a nonlinear) model driving the diffusion on the shadow mask to avoid the inpainting correction.

6 Table : Results from non-splitting and ADI splitting p-order methods. Input pixels. τ = 0. τ = τ = 0 Method θ p Time E.E. Time E.E. Time E.E. BiCGStab 5 d.) LU 5 d.) Douglas ADI s s s.84e-0.84e-0.84e s s s..00e-09.84e-09.84e s s s..9e-08.85e-08.85e-08 BiCGStab 5 d.) LU 5 d.) Douglas ADI P.-R. ADI s s s s. 5.56e e-5.00e-5.5e-4 3. s. 5.9 s s. 5.8 s. 5.58e e-3.00e-3.5e- 0.9 s. 5.7 s s s. 8.00e e-09.96e-.53e energy error Order Order BiCGStab 5d. = 0.5 BiCGStab 5d. = LU 5d. = 0.5 LU 5d. = Douglas ADI = 0.5 Douglas ADI = P-R ADI dt a) ADI orders for Energy Error. b) Shadow removal + inpainting. Figure : a: Energy error at T = 000 for several τ. b: Input with shadow boundary top); Douglas ADI solution and result after non-local inpainting [] bottom). Parameters: τ = 0; θ = 0.5. Image from: Acknowledgments LC acknowledges the joint ANR/FWF Project Efficient Algorithms for Nonsmooth Optimization in Imaging EANOI) FWF n. I48 / ANR--IS CE acknowledges the support of GNCS-INDAM. SP was supported by the UK Engineering and Physical Sciences Research Council EPSRC) grant EP/L0656/. References [] Arias P, Facciolo G, Caselles V and Sapiro G 0 ICJV [] Al-Mohy and A.H. Higham N J 0 SIAM J. Sci. Comput [3] Aubert G and Kornprobst P 006 Mathematical problems in image processing: Partial Differential Equations and the Calculus of Variations nd ed Applied Mathematical Sciences Springer) ISBN [4] Barrow H and Tanenbaum J M 978 Computer Vision Systems in A. Hanson and E. Riseman eds Academic Press) 3-6 [5] Finlayson G, Hordley S, Lu C and Drew M 00 ECCV in LNCS Springer) [6] Hundsdorfer W and Verwer J 003 Numerical solution of time-dependent advection-diffusion-reaction equations Computational Mathematics Springer) ISBN [7] Saad Y.003 Iterative Methods for Sparse Linear Systems nd ed SIAM) ISBN [8] Scho nlieb C-B 05 Partial Differential Equation Methods for Image Inpainting Cambridge Monographs on Applied and Computational Mathematics CUP) ISBN [9] Vogel O, Hagenburg K, Weickert and J Setzer S 03 SSVM in LNCS Springer) [0] Weickert J, Hagenburg and K BreußVogel O 03 EMMCVPR in LNCS Springer) [] Weiss Y 00 ICCV in IEEE Proceedings on ICCV 68-75

Efficient Osmosis Filtering of Thermal-Quasi Reflectography Images for Cultural Heritage

Efficient Osmosis Filtering of Thermal-Quasi Reflectography Images for Cultural Heritage Efficient Osmosis Filtering of Thermal-Quasi Reflectography Images for Cultural Heritage Simone Parisotto 1, Luca Calatroni 2, and Claudia Daffara 3 1 CCA, Wilberforce Road, CB3 0WA, University of Cambridge,

More information

arxiv: v1 [math.na] 23 May 2013

arxiv: v1 [math.na] 23 May 2013 ADI SPLITTING SCHEMES FOR A FOURTH-ORDER NONLINEAR PARTIAL DIFFERENTIAL EQUATION FROM IMAGE PROCESSING Luca Calatroni Cambridge Centre for Analysis, University of Cambridge Wilberforce Road, CB3 0WA, Cambridge,

More information

High-order ADI schemes for convection-diffusion equations with mixed derivative terms

High-order ADI schemes for convection-diffusion equations with mixed derivative terms High-order ADI schemes for convection-diffusion equations with mixed derivative terms B. Düring, M. Fournié and A. Rigal Abstract We consider new high-order Alternating Direction Implicit ADI) schemes

More information

Solving linear systems (6 lectures)

Solving linear systems (6 lectures) Chapter 2 Solving linear systems (6 lectures) 2.1 Solving linear systems: LU factorization (1 lectures) Reference: [Trefethen, Bau III] Lecture 20, 21 How do you solve Ax = b? (2.1.1) In numerical linear

More information

Linear Osmosis Models for Visual Computing

Linear Osmosis Models for Visual Computing In A. Heyden, F. Kahl, C. Olsson, M. Oskarsson, X.-C. Tai (Eds.): Energy Minimization Methods in Computer Vision and Pattern Recognition. Lecture Notes in Computer Science, Vol. 8081, pp. 26 39, Springer,

More information

Erkut Erdem. Hacettepe University February 24 th, Linear Diffusion 1. 2 Appendix - The Calculus of Variations 5.

Erkut Erdem. Hacettepe University February 24 th, Linear Diffusion 1. 2 Appendix - The Calculus of Variations 5. LINEAR DIFFUSION Erkut Erdem Hacettepe University February 24 th, 2012 CONTENTS 1 Linear Diffusion 1 2 Appendix - The Calculus of Variations 5 References 6 1 LINEAR DIFFUSION The linear diffusion (heat)

More information

Multi-Factor Finite Differences

Multi-Factor Finite Differences February 17, 2017 Aims and outline Finite differences for more than one direction The θ-method, explicit, implicit, Crank-Nicolson Iterative solution of discretised equations Alternating directions implicit

More information

Introduction to PDEs and Numerical Methods Tutorial 5. Finite difference methods equilibrium equation and iterative solvers

Introduction to PDEs and Numerical Methods Tutorial 5. Finite difference methods equilibrium equation and iterative solvers Platzhalter für Bild, Bild auf Titelfolie hinter das Logo einsetzen Introduction to PDEs and Numerical Methods Tutorial 5. Finite difference methods equilibrium equation and iterative solvers Dr. Noemi

More information

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences)

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences) AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences) Lecture 19: Computing the SVD; Sparse Linear Systems Xiangmin Jiao Stony Brook University Xiangmin Jiao Numerical

More information

Introduction to PDEs and Numerical Methods Lecture 7. Solving linear systems

Introduction to PDEs and Numerical Methods Lecture 7. Solving linear systems Platzhalter für Bild, Bild auf Titelfolie hinter das Logo einsetzen Introduction to PDEs and Numerical Methods Lecture 7. Solving linear systems Dr. Noemi Friedman, 09.2.205. Reminder: Instationary heat

More information

Numerical Linear Algebra

Numerical Linear Algebra Numerical Linear Algebra Decompositions, numerical aspects Gerard Sleijpen and Martin van Gijzen September 27, 2017 1 Delft University of Technology Program Lecture 2 LU-decomposition Basic algorithm Cost

More information

Program Lecture 2. Numerical Linear Algebra. Gaussian elimination (2) Gaussian elimination. Decompositions, numerical aspects

Program Lecture 2. Numerical Linear Algebra. Gaussian elimination (2) Gaussian elimination. Decompositions, numerical aspects Numerical Linear Algebra Decompositions, numerical aspects Program Lecture 2 LU-decomposition Basic algorithm Cost Stability Pivoting Cholesky decomposition Sparse matrices and reorderings Gerard Sleijpen

More information

Coordinate Update Algorithm Short Course Operator Splitting

Coordinate Update Algorithm Short Course Operator Splitting Coordinate Update Algorithm Short Course Operator Splitting Instructor: Wotao Yin (UCLA Math) Summer 2016 1 / 25 Operator splitting pipeline 1. Formulate a problem as 0 A(x) + B(x) with monotone operators

More information

PDE Based Image Diffusion and AOS

PDE Based Image Diffusion and AOS PDE Based Image Diffusion and AOS by Jarno Ralli April 27, 204 Abstract This technical paper shows how AOS Additive Operator Splitting scheme, together with TDMA Tri-Diagonal Matrix Algorithm, can be used

More information

When taking a picture, what color is a (Lambertian) surface?

When taking a picture, what color is a (Lambertian) surface? Shadow removal When taking a picture, what color is a (Lambertian) surface? What if it s not a cloudy day? Region lit by skylight only Region lit by sunlight and skylight What great things could we do

More information

Math 471 (Numerical methods) Chapter 3 (second half). System of equations

Math 471 (Numerical methods) Chapter 3 (second half). System of equations Math 47 (Numerical methods) Chapter 3 (second half). System of equations Overlap 3.5 3.8 of Bradie 3.5 LU factorization w/o pivoting. Motivation: ( ) A I Gaussian Elimination (U L ) where U is upper triangular

More information

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs Chapter Two: Numerical Methods for Elliptic PDEs Finite Difference Methods for Elliptic PDEs.. Finite difference scheme. We consider a simple example u := subject to Dirichlet boundary conditions ( ) u

More information

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids Fluid dynamics Math background Physics Simulation Related phenomena Frontiers in graphics Rigid fluids Fields Domain Ω R2 Scalar field f :Ω R Vector field f : Ω R2 Types of derivatives Derivatives measure

More information

A Four-Pixel Scheme for Singular Differential Equations

A Four-Pixel Scheme for Singular Differential Equations A Four-Pixel Scheme for Singular Differential Equations Martin Welk 1, Joachim Weickert 1, and Gabriele Steidl 1 Mathematical Image Analysis Group Faculty of Mathematics and Computer Science, Bldg. 7 Saarland

More information

NONLINEAR DIFFUSION PDES

NONLINEAR DIFFUSION PDES NONLINEAR DIFFUSION PDES Erkut Erdem Hacettepe University March 5 th, 0 CONTENTS Perona-Malik Type Nonlinear Diffusion Edge Enhancing Diffusion 5 References 7 PERONA-MALIK TYPE NONLINEAR DIFFUSION The

More information

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University A Model Problem in a 2D Box Region Let us consider a model problem of parabolic

More information

Linear Diffusion and Image Processing. Outline

Linear Diffusion and Image Processing. Outline Outline Linear Diffusion and Image Processing Fourier Transform Convolution Image Restoration: Linear Filtering Diffusion Processes for Noise Filtering linear scale space theory Gauss-Laplace pyramid for

More information

Equations of fluid dynamics for image inpainting

Equations of fluid dynamics for image inpainting Equations of fluid dynamics for image inpainting Evelyn M. Lunasin Department of Mathematics United States Naval Academy Joint work with E.S. Titi Weizmann Institute of Science, Israel. IMPA, Rio de Janeiro

More information

A Hybrid Method for the Wave Equation. beilina

A Hybrid Method for the Wave Equation.   beilina A Hybrid Method for the Wave Equation http://www.math.unibas.ch/ beilina 1 The mathematical model The model problem is the wave equation 2 u t 2 = (a 2 u) + f, x Ω R 3, t > 0, (1) u(x, 0) = 0, x Ω, (2)

More information

Scientific Computing WS 2018/2019. Lecture 9. Jürgen Fuhrmann Lecture 9 Slide 1

Scientific Computing WS 2018/2019. Lecture 9. Jürgen Fuhrmann Lecture 9 Slide 1 Scientific Computing WS 2018/2019 Lecture 9 Jürgen Fuhrmann juergen.fuhrmann@wias-berlin.de Lecture 9 Slide 1 Lecture 9 Slide 2 Simple iteration with preconditioning Idea: Aû = b iterative scheme û = û

More information

Scientific Computing

Scientific Computing Scientific Computing Direct solution methods Martin van Gijzen Delft University of Technology October 3, 2018 1 Program October 3 Matrix norms LU decomposition Basic algorithm Cost Stability Pivoting Pivoting

More information

Iterative Methods for Solving A x = b

Iterative Methods for Solving A x = b Iterative Methods for Solving A x = b A good (free) online source for iterative methods for solving A x = b is given in the description of a set of iterative solvers called templates found at netlib: http

More information

Assignment on iterative solution methods and preconditioning

Assignment on iterative solution methods and preconditioning Division of Scientific Computing, Department of Information Technology, Uppsala University Numerical Linear Algebra October-November, 2018 Assignment on iterative solution methods and preconditioning 1.

More information

Lecture 4: Numerical solution of ordinary differential equations

Lecture 4: Numerical solution of ordinary differential equations Lecture 4: Numerical solution of ordinary differential equations Department of Mathematics, ETH Zürich General explicit one-step method: Consistency; Stability; Convergence. High-order methods: Taylor

More information

Pivoting. Reading: GV96 Section 3.4, Stew98 Chapter 3: 1.3

Pivoting. Reading: GV96 Section 3.4, Stew98 Chapter 3: 1.3 Pivoting Reading: GV96 Section 3.4, Stew98 Chapter 3: 1.3 In the previous discussions we have assumed that the LU factorization of A existed and the various versions could compute it in a stable manner.

More information

Fluid Animation. Christopher Batty November 17, 2011

Fluid Animation. Christopher Batty November 17, 2011 Fluid Animation Christopher Batty November 17, 2011 What distinguishes fluids? What distinguishes fluids? No preferred shape Always flows when force is applied Deforms to fit its container Internal forces

More information

Partitioned Methods for Multifield Problems

Partitioned Methods for Multifield Problems Partitioned Methods for Multifield Problems Joachim Rang, 10.5.2017 10.5.2017 Joachim Rang Partitioned Methods for Multifield Problems Seite 1 Contents Blockform of linear iteration schemes Examples 10.5.2017

More information

New constructions of domain decomposition methods for systems of PDEs

New constructions of domain decomposition methods for systems of PDEs New constructions of domain decomposition methods for systems of PDEs Nouvelles constructions de méthodes de décomposition de domaine pour des systèmes d équations aux dérivées partielles V. Dolean?? F.

More information

A numerical study of SSP time integration methods for hyperbolic conservation laws

A numerical study of SSP time integration methods for hyperbolic conservation laws MATHEMATICAL COMMUNICATIONS 613 Math. Commun., Vol. 15, No., pp. 613-633 (010) A numerical study of SSP time integration methods for hyperbolic conservation laws Nelida Črnjarić Žic1,, Bojan Crnković 1

More information

AIMS Exercise Set # 1

AIMS Exercise Set # 1 AIMS Exercise Set #. Determine the form of the single precision floating point arithmetic used in the computers at AIMS. What is the largest number that can be accurately represented? What is the smallest

More information

On the efficiency of the Peaceman-Rachford ADI-dG method for wave-type methods

On the efficiency of the Peaceman-Rachford ADI-dG method for wave-type methods On the efficiency of the Peaceman-Rachford ADI-dG method for wave-type methods Marlis Hochbruck, Jonas Köhler CRC Preprint 2017/34 (revised), March 2018 KARLSRUHE INSTITUTE OF TECHNOLOGY KIT The Research

More information

Spectral Processing. Misha Kazhdan

Spectral Processing. Misha Kazhdan Spectral Processing Misha Kazhdan [Taubin, 1995] A Signal Processing Approach to Fair Surface Design [Desbrun, et al., 1999] Implicit Fairing of Arbitrary Meshes [Vallet and Levy, 2008] Spectral Geometry

More information

Introduction to numerical schemes

Introduction to numerical schemes 236861 Numerical Geometry of Images Tutorial 2 Introduction to numerical schemes Heat equation The simple parabolic PDE with the initial values u t = K 2 u 2 x u(0, x) = u 0 (x) and some boundary conditions

More information

Boundary Value Problems - Solving 3-D Finite-Difference problems Jacob White

Boundary Value Problems - Solving 3-D Finite-Difference problems Jacob White Introduction to Simulation - Lecture 2 Boundary Value Problems - Solving 3-D Finite-Difference problems Jacob White Thanks to Deepak Ramaswamy, Michal Rewienski, and Karen Veroy Outline Reminder about

More information

Kasetsart University Workshop. Multigrid methods: An introduction

Kasetsart University Workshop. Multigrid methods: An introduction Kasetsart University Workshop Multigrid methods: An introduction Dr. Anand Pardhanani Mathematics Department Earlham College Richmond, Indiana USA pardhan@earlham.edu A copy of these slides is available

More information

Scientific Computing with Case Studies SIAM Press, Lecture Notes for Unit VII Sparse Matrix

Scientific Computing with Case Studies SIAM Press, Lecture Notes for Unit VII Sparse Matrix Scientific Computing with Case Studies SIAM Press, 2009 http://www.cs.umd.edu/users/oleary/sccswebpage Lecture Notes for Unit VII Sparse Matrix Computations Part 1: Direct Methods Dianne P. O Leary c 2008

More information

Bindel, Fall 2016 Matrix Computations (CS 6210) Notes for

Bindel, Fall 2016 Matrix Computations (CS 6210) Notes for 1 Logistics Notes for 2016-08-26 1. Our enrollment is at 50, and there are still a few students who want to get in. We only have 50 seats in the room, and I cannot increase the cap further. So if you are

More information

Consistent Positive Directional Splitting of Anisotropic Diffusion

Consistent Positive Directional Splitting of Anisotropic Diffusion In: Boštjan Likar (ed.): Proc. of Computer Vision Winter Workshop, Bled, Slovenia, Feb. 7-9, 2001, pp. 37-48. Consistent Positive Directional Splitting of Anisotropic Diffusion Pavel Mrázek and Mirko Navara

More information

An Overview of Fluid Animation. Christopher Batty March 11, 2014

An Overview of Fluid Animation. Christopher Batty March 11, 2014 An Overview of Fluid Animation Christopher Batty March 11, 2014 What distinguishes fluids? What distinguishes fluids? No preferred shape. Always flows when force is applied. Deforms to fit its container.

More information

LUKE EDWARDS. Research Supervisors: Anna L. Mazzucato and Victor Nistor Department of Mathematics, Penn State University, University Park, PA,

LUKE EDWARDS. Research Supervisors: Anna L. Mazzucato and Victor Nistor Department of Mathematics, Penn State University, University Park, PA, A GREEN S FUNCTION NUMERICAL METHOD FOR SOLVING PARABOLIC PARTIAL DIFFERENTIAL EQUATIONS LUKE EDWARDS Research Supervisors: Anna L. Mazzucato and Victor Nistor Department of Mathematics, Penn State University,

More information

PDEs in Image Processing, Tutorials

PDEs in Image Processing, Tutorials PDEs in Image Processing, Tutorials Markus Grasmair Vienna, Winter Term 2010 2011 Direct Methods Let X be a topological space and R: X R {+ } some functional. following definitions: The mapping R is lower

More information

Cache Oblivious Stencil Computations

Cache Oblivious Stencil Computations Cache Oblivious Stencil Computations S. HUNOLD J. L. TRÄFF F. VERSACI Lectures on High Performance Computing 13 April 2015 F. Versaci (TU Wien) Cache Oblivious Stencil Computations 13 April 2015 1 / 19

More information

Review of matrices. Let m, n IN. A rectangle of numbers written like A =

Review of matrices. Let m, n IN. A rectangle of numbers written like A = Review of matrices Let m, n IN. A rectangle of numbers written like a 11 a 12... a 1n a 21 a 22... a 2n A =...... a m1 a m2... a mn where each a ij IR is called a matrix with m rows and n columns or an

More information

Linear Systems of Equations. ChEn 2450

Linear Systems of Equations. ChEn 2450 Linear Systems of Equations ChEn 450 LinearSystems-directkey - August 5, 04 Example Circuit analysis (also used in heat transfer) + v _ R R4 I I I3 R R5 R3 Kirchoff s Laws give the following equations

More information

Introduction to Nonlinear Image Processing

Introduction to Nonlinear Image Processing Introduction to Nonlinear Image Processing 1 IPAM Summer School on Computer Vision July 22, 2013 Iasonas Kokkinos Center for Visual Computing Ecole Centrale Paris / INRIA Saclay Mean and median 2 Observations

More information

Universität des Saarlandes. Fachrichtung 6.1 Mathematik

Universität des Saarlandes. Fachrichtung 6.1 Mathematik Universität des Saarlandes U N I V E R S I T A S S A R A V I E N I S S Fachrichtung 6.1 Mathematik Preprint Nr. 142 Tensor Field Interpolation with PDEs Joachim Weickert and Martin Welk Saarbrücken 2005

More information

Medical Visualization - Tensor Visualization. J.-Prof. Dr. Kai Lawonn

Medical Visualization - Tensor Visualization. J.-Prof. Dr. Kai Lawonn Medical Visualization - Tensor Visualization J.-Prof. Dr. Kai Lawonn Lecture is partially based on the lecture by Prof. Thomas Schultz 2 What is a Tensor? A tensor is a multilinear transformation that

More information

Numerical Methods I Non-Square and Sparse Linear Systems

Numerical Methods I Non-Square and Sparse Linear Systems Numerical Methods I Non-Square and Sparse Linear Systems Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 MATH-GA 2011.003 / CSCI-GA 2945.003, Fall 2014 September 25th, 2014 A. Donev (Courant

More information

Construction of a New Domain Decomposition Method for the Stokes Equations

Construction of a New Domain Decomposition Method for the Stokes Equations Construction of a New Domain Decomposition Method for the Stokes Equations Frédéric Nataf 1 and Gerd Rapin 2 1 CMAP, CNRS; UMR7641, Ecole Polytechnique, 91128 Palaiseau Cedex, France 2 Math. Dep., NAM,

More information

9. Numerical linear algebra background

9. Numerical linear algebra background Convex Optimization Boyd & Vandenberghe 9. Numerical linear algebra background matrix structure and algorithm complexity solving linear equations with factored matrices LU, Cholesky, LDL T factorization

More information

Suboptimal feedback control of PDEs by solving Hamilton-Jacobi Bellman equations on sparse grids

Suboptimal feedback control of PDEs by solving Hamilton-Jacobi Bellman equations on sparse grids Suboptimal feedback control of PDEs by solving Hamilton-Jacobi Bellman equations on sparse grids Jochen Garcke joint work with Axel Kröner, INRIA Saclay and CMAP, Ecole Polytechnique Ilja Kalmykov, Universität

More information

Ordinary Differential Equations

Ordinary Differential Equations Chapter 13 Ordinary Differential Equations We motivated the problem of interpolation in Chapter 11 by transitioning from analzying to finding functions. That is, in problems like interpolation and regression,

More information

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey Scientific Computing: An Introductory Survey Chapter 11 Partial Differential Equations Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright c 2002.

More information

MULTI-LAYER HIERARCHICAL STRUCTURES AND FACTORIZATIONS

MULTI-LAYER HIERARCHICAL STRUCTURES AND FACTORIZATIONS MULTI-LAYER HIERARCHICAL STRUCTURES AND FACTORIZATIONS JIANLIN XIA Abstract. We propose multi-layer hierarchically semiseparable MHS structures for the fast factorizations of dense matrices arising from

More information

Learning Spectral Graph Segmentation

Learning Spectral Graph Segmentation Learning Spectral Graph Segmentation AISTATS 2005 Timothée Cour Jianbo Shi Nicolas Gogin Computer and Information Science Department University of Pennsylvania Computer Science Ecole Polytechnique Graph-based

More information

2 Two-Point Boundary Value Problems

2 Two-Point Boundary Value Problems 2 Two-Point Boundary Value Problems Another fundamental equation, in addition to the heat eq. and the wave eq., is Poisson s equation: n j=1 2 u x 2 j The unknown is the function u = u(x 1, x 2,..., x

More information

DOMAIN DECOMPOSITION APPROACHES FOR MESH GENERATION VIA THE EQUIDISTRIBUTION PRINCIPLE

DOMAIN DECOMPOSITION APPROACHES FOR MESH GENERATION VIA THE EQUIDISTRIBUTION PRINCIPLE DOMAIN DECOMPOSITION APPROACHES FOR MESH GENERATION VIA THE EQUIDISTRIBUTION PRINCIPLE MARTIN J. GANDER AND RONALD D. HAYNES Abstract. Moving mesh methods based on the equidistribution principle are powerful

More information

Numerical Methods - Numerical Linear Algebra

Numerical Methods - Numerical Linear Algebra Numerical Methods - Numerical Linear Algebra Y. K. Goh Universiti Tunku Abdul Rahman 2013 Y. K. Goh (UTAR) Numerical Methods - Numerical Linear Algebra I 2013 1 / 62 Outline 1 Motivation 2 Solving Linear

More information

ME Computational Fluid Mechanics Lecture 5

ME Computational Fluid Mechanics Lecture 5 ME - 733 Computational Fluid Mechanics Lecture 5 Dr./ Ahmed Nagib Elmekawy Dec. 20, 2018 Elliptic PDEs: Finite Difference Formulation Using central difference formulation, the so called five-point formula

More information

Approximating the matrix exponential of an advection-diffusion operator using the incomplete orthogonalization method

Approximating the matrix exponential of an advection-diffusion operator using the incomplete orthogonalization method Approximating the matrix exponential of an advection-diffusion operator using the incomplete orthogonalization method Antti Koskela KTH Royal Institute of Technology, Lindstedtvägen 25, 10044 Stockholm,

More information

Recurrence Relations and Fast Algorithms

Recurrence Relations and Fast Algorithms Recurrence Relations and Fast Algorithms Mark Tygert Research Report YALEU/DCS/RR-343 December 29, 2005 Abstract We construct fast algorithms for decomposing into and reconstructing from linear combinations

More information

Finite difference method for elliptic problems: I

Finite difference method for elliptic problems: I Finite difference method for elliptic problems: I Praveen. C praveen@math.tifrbng.res.in Tata Institute of Fundamental Research Center for Applicable Mathematics Bangalore 560065 http://math.tifrbng.res.in/~praveen

More information

Introduction to Boundary Value Problems

Introduction to Boundary Value Problems Chapter 5 Introduction to Boundary Value Problems When we studied IVPs we saw that we were given the initial value of a function and a differential equation which governed its behavior for subsequent times.

More information

Numerical schemes of resolution of stochastic optimal control HJB equation

Numerical schemes of resolution of stochastic optimal control HJB equation Numerical schemes of resolution of stochastic optimal control HJB equation Elisabeth Ottenwaelter Journée des doctorants 7 mars 2007 Équipe COMMANDS Elisabeth Ottenwaelter (INRIA et CMAP) Numerical schemes

More information

TRANSPORT IN POROUS MEDIA

TRANSPORT IN POROUS MEDIA 1 TRANSPORT IN POROUS MEDIA G. ALLAIRE CMAP, Ecole Polytechnique 1. Introduction 2. Main result in an unbounded domain 3. Asymptotic expansions with drift 4. Two-scale convergence with drift 5. The case

More information

Random walks and anisotropic interpolation on graphs. Filip Malmberg

Random walks and anisotropic interpolation on graphs. Filip Malmberg Random walks and anisotropic interpolation on graphs. Filip Malmberg Interpolation of missing data Assume that we have a graph where we have defined some (real) values for a subset of the nodes, and that

More information

Chapter 7 Iterative Techniques in Matrix Algebra

Chapter 7 Iterative Techniques in Matrix Algebra Chapter 7 Iterative Techniques in Matrix Algebra Per-Olof Persson persson@berkeley.edu Department of Mathematics University of California, Berkeley Math 128B Numerical Analysis Vector Norms Definition

More information

Computing Eigenvalues and/or Eigenvectors;Part 2, The Power method and QR-algorithm

Computing Eigenvalues and/or Eigenvectors;Part 2, The Power method and QR-algorithm Computing Eigenvalues and/or Eigenvectors;Part 2, The Power method and QR-algorithm Tom Lyche Centre of Mathematics for Applications, Department of Informatics, University of Oslo November 13, 2009 Today

More information

Next topics: Solving systems of linear equations

Next topics: Solving systems of linear equations Next topics: Solving systems of linear equations 1 Gaussian elimination (today) 2 Gaussian elimination with partial pivoting (Week 9) 3 The method of LU-decomposition (Week 10) 4 Iterative techniques:

More information

x n+1 = x n f(x n) f (x n ), n 0.

x n+1 = x n f(x n) f (x n ), n 0. 1. Nonlinear Equations Given scalar equation, f(x) = 0, (a) Describe I) Newtons Method, II) Secant Method for approximating the solution. (b) State sufficient conditions for Newton and Secant to converge.

More information

Process Model Formulation and Solution, 3E4

Process Model Formulation and Solution, 3E4 Process Model Formulation and Solution, 3E4 Section B: Linear Algebraic Equations Instructor: Kevin Dunn dunnkg@mcmasterca Department of Chemical Engineering Course notes: Dr Benoît Chachuat 06 October

More information

Strong Stability-Preserving (SSP) High-Order Time Discretization Methods

Strong Stability-Preserving (SSP) High-Order Time Discretization Methods Strong Stability-Preserving (SSP) High-Order Time Discretization Methods Xinghui Zhong 12/09/ 2009 Outline 1 Introduction Why SSP methods Idea History/main reference 2 Explicit SSP Runge-Kutta Methods

More information

Multi-Frame Factorization Techniques

Multi-Frame Factorization Techniques Multi-Frame Factorization Techniques Suppose { x j,n } J,N j=1,n=1 is a set of corresponding image coordinates, where the index n = 1,...,N refers to the n th scene point and j = 1,..., J refers to the

More information

Fundamentals of Non-local Total Variation Spectral Theory

Fundamentals of Non-local Total Variation Spectral Theory Fundamentals of Non-local Total Variation Spectral Theory Jean-François Aujol 1,2, Guy Gilboa 3, Nicolas Papadakis 1,2 1 Univ. Bordeaux, IMB, UMR 5251, F-33400 Talence, France 2 CNRS, IMB, UMR 5251, F-33400

More information

COMS 4721: Machine Learning for Data Science Lecture 19, 4/6/2017

COMS 4721: Machine Learning for Data Science Lecture 19, 4/6/2017 COMS 4721: Machine Learning for Data Science Lecture 19, 4/6/2017 Prof. John Paisley Department of Electrical Engineering & Data Science Institute Columbia University PRINCIPAL COMPONENT ANALYSIS DIMENSIONALITY

More information

Principal Component Analysis

Principal Component Analysis Machine Learning Michaelmas 2017 James Worrell Principal Component Analysis 1 Introduction 1.1 Goals of PCA Principal components analysis (PCA) is a dimensionality reduction technique that can be used

More information

u n 2 4 u n 36 u n 1, n 1.

u n 2 4 u n 36 u n 1, n 1. Exercise 1 Let (u n ) be the sequence defined by Set v n = u n 1 x+ u n and f (x) = 4 x. 1. Solve the equations f (x) = 1 and f (x) =. u 0 = 0, n Z +, u n+1 = u n + 4 u n.. Prove that if u n < 1, then

More information

PDE Solvers for Fluid Flow

PDE Solvers for Fluid Flow PDE Solvers for Fluid Flow issues and algorithms for the Streaming Supercomputer Eran Guendelman February 5, 2002 Topics Equations for incompressible fluid flow 3 model PDEs: Hyperbolic, Elliptic, Parabolic

More information

Stepsize Restrictions for Boundedness and Monotonicity of Multistep Methods

Stepsize Restrictions for Boundedness and Monotonicity of Multistep Methods Stepsize Restrictions for Boundedness and Monotonicity of Multistep Methods W. Hundsdorfer, A. Mozartova, M.N. Spijker Abstract In this paper nonlinear monotonicity and boundedness properties are analyzed

More information

CS520: numerical ODEs (Ch.2)

CS520: numerical ODEs (Ch.2) .. CS520: numerical ODEs (Ch.2) Uri Ascher Department of Computer Science University of British Columbia ascher@cs.ubc.ca people.cs.ubc.ca/ ascher/520.html Uri Ascher (UBC) CPSC 520: ODEs (Ch. 2) Fall

More information

Numerical Methods I: Eigenvalues and eigenvectors

Numerical Methods I: Eigenvalues and eigenvectors 1/25 Numerical Methods I: Eigenvalues and eigenvectors Georg Stadler Courant Institute, NYU stadler@cims.nyu.edu November 2, 2017 Overview 2/25 Conditioning Eigenvalues and eigenvectors How hard are they

More information

Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners

Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners Eugene Vecharynski 1 Andrew Knyazev 2 1 Department of Computer Science and Engineering University of Minnesota 2 Department

More information

Stability of Krylov Subspace Spectral Methods

Stability of Krylov Subspace Spectral Methods Stability of Krylov Subspace Spectral Methods James V. Lambers Department of Energy Resources Engineering Stanford University includes joint work with Patrick Guidotti and Knut Sølna, UC Irvine Margot

More information

Unconditionally stable scheme for Riccati equation

Unconditionally stable scheme for Riccati equation ESAIM: Proceedings, Vol. 8, 2, 39-52 Contrôle des systèmes gouvernés par des équations aux dérivées partielles http://www.emath.fr/proc/vol.8/ Unconditionally stable scheme for Riccati equation François

More information

Computational Methods. Systems of Linear Equations

Computational Methods. Systems of Linear Equations Computational Methods Systems of Linear Equations Manfred Huber 2010 1 Systems of Equations Often a system model contains multiple variables (parameters) and contains multiple equations Multiple equations

More information

Chapter 9 Implicit integration, incompressible flows

Chapter 9 Implicit integration, incompressible flows Chapter 9 Implicit integration, incompressible flows The methods we discussed so far work well for problems of hydrodynamics in which the flow speeds of interest are not orders of magnitude smaller than

More information

An Efficient Algorithm Based on Quadratic Spline Collocation and Finite Difference Methods for Parabolic Partial Differential Equations.

An Efficient Algorithm Based on Quadratic Spline Collocation and Finite Difference Methods for Parabolic Partial Differential Equations. An Efficient Algorithm Based on Quadratic Spline Collocation and Finite Difference Methods for Parabolic Partial Differential Equations by Tong Chen A thesis submitted in conformity with the requirements

More information

Solution of Linear Equations

Solution of Linear Equations Solution of Linear Equations (Com S 477/577 Notes) Yan-Bin Jia Sep 7, 07 We have discussed general methods for solving arbitrary equations, and looked at the special class of polynomial equations A subclass

More information

Exponential integrators and functions of the matrix exponential

Exponential integrators and functions of the matrix exponential Exponential integrators and functions of the matrix exponential Paul Matthews, Stephen Cox, Hala Ashi and Linda Cummings School of Mathematical Sciences, University of Nottingham, UK Introduction to exponential

More information

Linear Algebra Review

Linear Algebra Review Chapter 1 Linear Algebra Review It is assumed that you have had a course in linear algebra, and are familiar with matrix multiplication, eigenvectors, etc. I will review some of these terms here, but quite

More information

Implicitly Defined High-Order Operator Splittings for Parabolic and Hyperbolic Variable-Coefficient PDE Using Modified Moments

Implicitly Defined High-Order Operator Splittings for Parabolic and Hyperbolic Variable-Coefficient PDE Using Modified Moments Implicitly Defined High-Order Operator Splittings for Parabolic and Hyperbolic Variable-Coefficient PDE Using Modified Moments James V. Lambers September 24, 2008 Abstract This paper presents a reformulation

More information

A Discrete Theory and Efficient Algorithms for Forward-and-Backward Diffusion Filtering

A Discrete Theory and Efficient Algorithms for Forward-and-Backward Diffusion Filtering A Discrete Theory and Efficient Algorithms for Forward-and-Backward Diffusion Filtering Martin Welk Private University for Health Sciences, Medical Informatics and Technology (UMIT) Eduard-Wallnöfer-Zentrum

More information

The method of lines (MOL) for the diffusion equation

The method of lines (MOL) for the diffusion equation Chapter 1 The method of lines (MOL) for the diffusion equation The method of lines refers to an approximation of one or more partial differential equations with ordinary differential equations in just

More information

Finite Difference and Finite Element Methods

Finite Difference and Finite Element Methods Finite Difference and Finite Element Methods Georgy Gimel farb COMPSCI 369 Computational Science 1 / 39 1 Finite Differences Difference Equations 3 Finite Difference Methods: Euler FDMs 4 Finite Element

More information

Numerical Solution Techniques in Mechanical and Aerospace Engineering

Numerical Solution Techniques in Mechanical and Aerospace Engineering Numerical Solution Techniques in Mechanical and Aerospace Engineering Chunlei Liang LECTURE 3 Solvers of linear algebraic equations 3.1. Outline of Lecture Finite-difference method for a 2D elliptic PDE

More information